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.
Overloads Add(Type)public:
Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata ^ Add(Type ^ filterType);
public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata Add(Type filterType);
override this.Add : Type -> Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
Public Function Add (filterType As Type) As IFilterMetadata
Parameters Returns
A IFilterMetadata representing the added type.
RemarksFilter instances will be created using ActivatorUtilities. Use AddService(Type) to register a service as a filter. The added filter will be assigned an order of 0.
Add(Type, Int32)public:
Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata ^ Add(Type ^ filterType, int order);
public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata Add(Type filterType, int order);
override this.Add : Type * int -> Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
Public Function Add (filterType As Type, order As Integer) As IFilterMetadata
Parameters
The order of the added filter.
ReturnsA IFilterMetadata representing the added type.
RemarksFilter instances will be created using ActivatorUtilities. Use AddService(Type) to register a service as a filter.
Add<TFilterType>()public:
generic <typename TFilterType>
where TFilterType : Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata ^ Add();
public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata Add<TFilterType>() where TFilterType : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata;
override this.Add : unit -> Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata (requires 'FilterType :> Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata)
Public Function Add(Of TFilterType As IFilterMetadata) () As IFilterMetadata
Type Parameters Returns
A IFilterMetadata representing the added type.
RemarksFilter instances will be created using ActivatorUtilities. Use AddService(Type) to register a service as a filter. The added filter will be assigned an order of 0.
Add<TFilterType>(Int32)public:
generic <typename TFilterType>
where TFilterType : Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata ^ Add(int order);
public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata Add<TFilterType>(int order) where TFilterType : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata;
override this.Add : int -> Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata (requires 'FilterType :> Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata)
Public Function Add(Of TFilterType As IFilterMetadata) (order As Integer) As IFilterMetadata
Type Parameters Parameters
The order of the added filter.
ReturnsA IFilterMetadata representing the added type.
RemarksFilter instances will be created using ActivatorUtilities. Use AddService(Type) to register a service as a filter.
FeedbackRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4