다음을 통해 공유


ServiceBasedPageModelActivatorProvider.CreateActivator 메서드

정의

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

public:
 virtual Func<Microsoft::AspNetCore::Mvc::RazorPages::PageContext ^, System::Object ^> ^ CreateActivator(Microsoft::AspNetCore::Mvc::RazorPages::CompiledPageActionDescriptor ^ descriptor);
public Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext,object> CreateActivator (Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor);
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 Function CreateActivator (descriptor As CompiledPageActionDescriptor) As Func(Of PageContext, Object)

매개 변수

반환

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

구현

적용 대상