共用方式為


RazorCompiledItemLoader.LoadAttributes(Assembly) 方法

定義

擷取為所提供 Assembly 定義的屬性清單 RazorCompiledItemAttribute

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)

參數

assembly
Assembly

要搜尋的 Assembly

傳回

屬性清單 RazorCompiledItemAttribute

適用於