다음을 통해 공유


DefaultPageActivatorProvider.CreateActivator 메서드

정의

Razor 페이지 활성화기를 만듭니다.

public:
 virtual Func<Microsoft::AspNetCore::Mvc::RazorPages::PageContext ^, Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^, System::Object ^> ^ CreateActivator(Microsoft::AspNetCore::Mvc::RazorPages::CompiledPageActionDescriptor ^ actionDescriptor);
public virtual Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext,Microsoft.AspNetCore.Mvc.Rendering.ViewContext,object> CreateActivator (Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor actionDescriptor);
abstract member CreateActivator : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, Microsoft.AspNetCore.Mvc.Rendering.ViewContext, obj>
override this.CreateActivator : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, Microsoft.AspNetCore.Mvc.Rendering.ViewContext, obj>
Public Overridable Function CreateActivator (actionDescriptor As CompiledPageActionDescriptor) As Func(Of PageContext, ViewContext, Object)

매개 변수

actionDescriptor
CompiledPageActionDescriptor

반환

페이지를 활성화하는 데 사용되는 대리자입니다.

구현

적용 대상