ApplicationModelConventionExtensions.RemoveType 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.
Overloads
RemoveType(IList<IApplicationModelConvention>, Type) |
Removes all application model conventions of the specified type. |
RemoveType<TApplicationModelConvention>(IList<IApplicationModelConvention>) |
Removes all application model conventions of the specified type. |
RemoveType(IList<IApplicationModelConvention>, Type)
Removes all application model conventions of the specified type.
public static void RemoveType (this System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention> list, Type type);
static member RemoveType : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention> * Type -> unit
<Extension()>
Public Sub RemoveType (list As IList(Of IApplicationModelConvention), type As Type)
Parameters
The list of IApplicationModelConventions.
- type
- Type
The type to remove.
Applies to
RemoveType<TApplicationModelConvention>(IList<IApplicationModelConvention>)
Removes all application model conventions of the specified type.
public static void RemoveType<TApplicationModelConvention> (this System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention> list) where TApplicationModelConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention;
static member RemoveType : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention> -> unit (requires 'ApplicationModelConvention :> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention)
<Extension()>
Public Sub RemoveType(Of TApplicationModelConvention As IApplicationModelConvention) (list As IList(Of IApplicationModelConvention))
Type Parameters
- TApplicationModelConvention
The type to remove.
Parameters
The list of IApplicationModelConventions.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for