Partager via


RazorCompiledItemLoader.LoadAttributes(Assembly) Méthode

Définition

Récupère la liste des RazorCompiledItemAttribute attributs définis pour le fourni 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)

Paramètres

assembly
Assembly

Assembly à rechercher.

Retours

Liste d’attributs RazorCompiledItemAttribute .

S’applique à