Releases a Razor Page model.
Namespace: SimpleInjector.Integration.AspNetCore.Mvc
Assembly: SimpleInjector.Integration.AspNetCore.Mvc (in SimpleInjector.Integration.AspNetCore.Mvc.dll) Version: 5.0.0
Syntax
public Action<PageContext, Object> CreateReleaser( CompiledPageActionDescriptor descriptor )
Parameters
- descriptor
- Type: CompiledPageActionDescriptor
The CompiledPageActionDescriptor.
Return Value
Type: ActionPageContext, ObjectThe delegate used to dispose the activated Razor Page model or null.
See Also