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

适用于