Freigeben über


ConventionSet.AddBefore Methode

Definition

Überlädt

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

Fügt eine Konvention vor einer vorhandenen Konvention hinzu.

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

Fügt eine Konvention vor einer vorhandenen Konvention hinzu.

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

Fügt eine Konvention vor einer vorhandenen Konvention hinzu.

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

Typparameter

TConvention

Der Typ der hinzugefügten Konvention.

Parameter

conventionsList
IList<TConvention>

Die Liste der vorhandenen Konventionsinstanzen, die überprüft werden sollen.

newConvention
TConvention

Die neue Konvention.

existingConventionType
Type

Der Typ der vorhandenen Konvention.

Gibt zurück

true , wenn die Konvention hinzugefügt wurde.

Gilt für:

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

Fügt eine Konvention vor einer vorhandenen Konvention hinzu.

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

Typparameter

TConvention

Der Typ der hinzugefügten Konvention.

Parameter

conventionsList
List<TConvention>

Die Liste der vorhandenen Konventionsinstanzen, die überprüft werden sollen.

newConvention
TConvention

Die neue Konvention.

existingConventionType
Type

Der Typ der vorhandenen Konvention.

Gibt zurück

true , wenn die Konvention hinzugefügt wurde.

Gilt für: