Delen via


IPageModelFactoryProvider Interface

Definition

Provides methods for creation and disposal of Razor Page models.

public interface class IPageModelFactoryProvider
public interface IPageModelFactoryProvider
type IPageModelFactoryProvider = interface
Public Interface IPageModelFactoryProvider
Derived

Methods

CreateAsyncModelDisposer(CompiledPageActionDescriptor)

Releases a Razor Page model asynchronously.

CreateModelDisposer(CompiledPageActionDescriptor)

Releases a Razor Page model.

CreateModelFactory(CompiledPageActionDescriptor)

Creates a factory for producing models for Razor Pages given the specified PageContext.

Applies to