Dela via


RazorCompiledItemLoader.LoadItems(Assembly) Method

Definition

Loads a list of RazorCompiledItem objects from the provided Assembly.

public:
 virtual System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Razor::Hosting::RazorCompiledItem ^> ^ LoadItems(System::Reflection::Assembly ^ assembly);
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem> LoadItems (System.Reflection.Assembly assembly);
abstract member LoadItems : System.Reflection.Assembly -> System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem>
override this.LoadItems : System.Reflection.Assembly -> System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem>
Public Overridable Function LoadItems (assembly As Assembly) As IReadOnlyList(Of RazorCompiledItem)

Parameters

assembly
Assembly

The assembly to search.

Returns

A list of RazorCompiledItem objects.

Applies to