ConventionSet.Remove 方法

定义

重载

Remove(Type)

删除给定类型的约定。

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

删除现有约定。

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

删除现有约定。

Remove(Type)

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

删除给定类型的约定。

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

参数

conventionType
Type

要删除的约定类型。

适用于

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

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

删除现有约定。

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

类型参数

TConvention

要删除的约定的类型。

参数

conventionsList
IList<TConvention>

要扫描的现有约定实例的列表。

existingConventionType
Type

现有约定的类型。

返回

true 如果删除了约定,则为 。

适用于

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

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

删除现有约定。

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

类型参数

TConvention

要删除的约定的类型。

参数

conventionsList
List<TConvention>

要扫描的现有约定实例的列表。

existingConventionType
Type

现有约定的类型。

返回

true 如果删除了约定,则为 。

适用于