ValidateAntiForgeryTokenAttribute.CreateInstance(IServiceProvider) Method
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.
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.