RazorCompiledItemLoader.LoadAttributes(Assembly) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the list of RazorCompiledItemAttribute attributes defined for the provided 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)
Parameters
Returns
A list of RazorCompiledItemAttribute attributes.