Share via


ConventionSet.Remove Method

Definition

Overloads

Remove(Type)

Removes the convention of the given type.

Remove<TConvention>(IList<TConvention>, Type)

Removes an existing convention.

Remove<TConvention>(List<TConvention>, Type)

Removes an existing convention.

Remove(Type)

Source:
ConventionSet.cs
Source:
ConventionSet.cs
Source:
ConventionSet.cs

Removes the convention of the given type.

public virtual void Remove (Type conventionType);
abstract member Remove : Type -> unit
override this.Remove : Type -> unit
Public Overridable Sub Remove (conventionType As Type)

Parameters

conventionType
Type

The convention type to remove.

Applies to

Remove<TConvention>(IList<TConvention>, Type)

Source:
ConventionSet.cs
Source:
ConventionSet.cs
Source:
ConventionSet.cs
Source:
ConventionSet.cs

Removes an existing convention.

public static bool Remove<TConvention> (System.Collections.Generic.IList<TConvention> conventionsList, Type existingConventionType);
static member Remove : System.Collections.Generic.IList<'Convention> * Type -> bool
Public Shared Function Remove(Of TConvention) (conventionsList As IList(Of TConvention), existingConventionType As Type) As Boolean

Type Parameters

TConvention

The type of convention being removed.

Parameters

conventionsList
IList<TConvention>

The list of existing convention instances to scan.

existingConventionType
Type

The type of the existing convention.

Returns

true if the convention was removed.

Applies to

Remove<TConvention>(List<TConvention>, Type)

Source:
ConventionSet.cs
Source:
ConventionSet.cs
Source:
ConventionSet.cs

Removes an existing convention.

public static bool Remove<TConvention> (System.Collections.Generic.List<TConvention> conventionsList, Type existingConventionType);
static member Remove : System.Collections.Generic.List<'Convention> * Type -> bool
Public Shared Function Remove(Of TConvention) (conventionsList As List(Of TConvention), existingConventionType As Type) As Boolean

Type Parameters

TConvention

The type of convention being removed.

Parameters

conventionsList
List<TConvention>

The list of existing convention instances to scan.

existingConventionType
Type

The type of the existing convention.

Returns

true if the convention was removed.

Applies to