IPageModelFactoryProvider Interface   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides methods for creation and disposal of Razor Page models.
public interface class IPageModelFactoryProviderpublic interface IPageModelFactoryProvidertype IPageModelFactoryProvider = interfacePublic 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. |