Compartilhar via


RazorCompiledItemLoader.LoadAttributes(Assembly) Método

Definição

Recupera a lista de RazorCompiledItemAttribute atributos definidos para o fornecido 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)

Parâmetros

assembly
Assembly

O Assembly a pesquisar.

Retornos

Uma lista de RazorCompiledItemAttribute atributos.

Aplica-se a