Share via


ServiceBasedPageModelActivatorProvider Class

Definition

IPageActivatorProvider that uses type activation to create Razor Page instances.

public ref class ServiceBasedPageModelActivatorProvider : Microsoft::AspNetCore::Mvc::RazorPages::IPageModelActivatorProvider
public class ServiceBasedPageModelActivatorProvider : Microsoft.AspNetCore.Mvc.RazorPages.IPageModelActivatorProvider
type ServiceBasedPageModelActivatorProvider = class
    interface IPageModelActivatorProvider
Public Class ServiceBasedPageModelActivatorProvider
Implements IPageModelActivatorProvider
Inheritance
ServiceBasedPageModelActivatorProvider
Implements

Constructors

ServiceBasedPageModelActivatorProvider()

Methods

CreateActivator(CompiledPageActionDescriptor)

Creates a Razor Page model activator.

CreateReleaser(CompiledPageActionDescriptor)

Releases a Razor Page model.

Applies to