ModelBinderProviderExtensions.RemoveType Method

Definition

Overloads

RemoveType(IList<IModelBinderProvider>, Type)

Removes all model binder providers of the specified type.

RemoveType<TModelBinderProvider>(IList<IModelBinderProvider>)

Removes all model binder providers of the specified type.

RemoveType(IList<IModelBinderProvider>, Type)

Source:
ModelBinderProviderExtensions.cs
Source:
ModelBinderProviderExtensions.cs

Removes all model binder providers of the specified type.

public:
[System::Runtime::CompilerServices::Extension]
 static void RemoveType(System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinderProvider ^> ^ list, Type ^ type);
public static void RemoveType (this System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider> list, Type type);
static member RemoveType : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider> * Type -> unit
<Extension()>
Public Sub RemoveType (list As IList(Of IModelBinderProvider), type As Type)

Parameters

type
Type

The type to remove.

Applies to

RemoveType<TModelBinderProvider>(IList<IModelBinderProvider>)

Source:
ModelBinderProviderExtensions.cs
Source:
ModelBinderProviderExtensions.cs

Removes all model binder providers of the specified type.

public:
generic <typename TModelBinderProvider>
 where TModelBinderProvider : Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinderProvider[System::Runtime::CompilerServices::Extension]
 static void RemoveType(System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinderProvider ^> ^ list);
public static void RemoveType<TModelBinderProvider> (this System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider> list) where TModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider;
static member RemoveType : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider> -> unit (requires 'ModelBinderProvider :> Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider)
<Extension()>
Public Sub RemoveType(Of TModelBinderProvider As IModelBinderProvider) (list As IList(Of IModelBinderProvider))

Type Parameters

TModelBinderProvider

The type to remove.

Parameters

Applies to