Dela via


SaveTempDataAttribute.CreateInstance(IServiceProvider) Method

Definition

Creates an instance of the executable filter.

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

Parameters

serviceProvider
IServiceProvider

The request IServiceProvider.

Returns

An instance of the executable filter.

Implements

Applies to