다음을 통해 공유


ViewsFeatureProvider.GetViewAttributes(AssemblyPart) 메서드

정의

지정된 assemblyPart와 연결된 인스턴스의 RazorViewAttribute 시퀀스를 가져옵니다.

protected:
 virtual System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::Razor::Compilation::RazorViewAttribute ^> ^ GetViewAttributes(Microsoft::AspNetCore::Mvc::ApplicationParts::AssemblyPart ^ assemblyPart);
protected virtual System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute> GetViewAttributes (Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart assemblyPart);
abstract member GetViewAttributes : Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart -> seq<Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute>
override this.GetViewAttributes : Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart -> seq<Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute>
Protected Overridable Function GetViewAttributes (assemblyPart As AssemblyPart) As IEnumerable(Of RazorViewAttribute)

매개 변수

assemblyPart
AssemblyPart

AssemblyPart

반환

인스턴스의 RazorViewAttribute 시퀀스입니다.

적용 대상