Udostępnij za pośrednictwem


RazorCompiledItemLoader.LoadAttributes(Assembly) Metoda

Definicja

Pobiera listę atrybutów zdefiniowanych RazorCompiledItemAttribute dla podanego Assemblyelementu .

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)

Parametry

assembly
Assembly

Element Assembly do wyszukiwania.

Zwraca

Lista atrybutów RazorCompiledItemAttribute .

Dotyczy