Compartilhar via


IPageModelFactoryProvider.CreateAsyncModelDisposer Método

Definição

Libera um modelo razor page de forma assíncrona.

public virtual Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext,object,System.Threading.Tasks.ValueTask>? CreateAsyncModelDisposer (Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor);
abstract member CreateAsyncModelDisposer : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, obj, System.Threading.Tasks.ValueTask>
override this.CreateAsyncModelDisposer : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, obj, System.Threading.Tasks.ValueTask>
Public Overridable Function CreateAsyncModelDisposer (descriptor As CompiledPageActionDescriptor) As Func(Of PageContext, Object, ValueTask)

Parâmetros

Retornos

O delegado usado para liberar o modelo de Página razor criado de forma assíncrona.

Aplica-se a