Delen via


RazorCompiledItemLoader.LoadAttributes(Assembly) Method

Definition

Retrieves the list of RazorCompiledItemAttribute attributes defined for the provided Assembly.

protected:
 System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::Hosting::RazorCompiledItemAttribute ^> ^ LoadAttributes(System::Reflection::Assembly ^ assembly);
protected System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute> LoadAttributes (System.Reflection.Assembly assembly);
member this.LoadAttributes : System.Reflection.Assembly -> seq<Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute>
Protected Function LoadAttributes (assembly As Assembly) As IEnumerable(Of RazorCompiledItemAttribute)

Parameters

assembly
Assembly

The Assembly to search.

Returns

A list of RazorCompiledItemAttribute attributes.

Applies to