語言

ConventionSet.AddBefore 方法

定義

多載

名稱 Description
AddBefore<TConvention>(IList<TConvention>, TConvention, Type)

在現有約定之前加入一個約定。

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

在現有約定之前加入一個約定。

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

來源:
ConventionSet.cs
來源:
ConventionSet.cs
來源:
ConventionSet.cs
來源:
ConventionSet.cs

在現有約定之前加入一個約定。

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

類型參數

TConvention

新增的約定類型。

參數

conventionsList
IList<TConvention>

現有約定實例清單,需掃描。

newConvention
TConvention

新會議。

existingConventionType
Type

現有公約的類型。

傳回

true 如果該公約被加入的話。

適用於

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

來源:
ConventionSet.cs
來源:
ConventionSet.cs
來源:
ConventionSet.cs
來源:
ConventionSet.cs
來源:
ConventionSet.cs

在現有約定之前加入一個約定。

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

類型參數

TConvention

新增的約定類型。

參數

conventionsList
List<TConvention>

現有約定實例清單,需掃描。

newConvention
TConvention

新會議。

existingConventionType
Type

現有公約的類型。

傳回

true 如果該公約被加入的話。

適用於