다음을 통해 공유


DefaultPageModelActivatorProvider.CreateActivator 메서드

정의

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

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

매개 변수

actionDescriptor
CompiledPageActionDescriptor

반환

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

구현

적용 대상