Condividi tramite


ValidateAntiForgeryTokenAttribute.CreateInstance(IServiceProvider) Metodo

Definizione

Crea un'istanza del filtro eseguibile.

public:
 virtual Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata ^ CreateInstance(IServiceProvider ^ serviceProvider);
public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata CreateInstance (IServiceProvider serviceProvider);
abstract member CreateInstance : IServiceProvider -> Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
override this.CreateInstance : IServiceProvider -> Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
Public Function CreateInstance (serviceProvider As IServiceProvider) As IFilterMetadata

Parametri

serviceProvider
IServiceProvider

IServiceProviderRichiesta .

Restituisce

Istanza del filtro eseguibile.

Implementazioni

Si applica a