Sdílet prostřednictvím


ConventionSet.AddBefore Metoda

Definice

Přetížení

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

Přidá konvenci před existující konvenci.

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

Přidá konvenci před existující konvenci.

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

Přidá konvenci před existující konvenci.

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

Parametry typu

TConvention

Typ konvence, který se přidává.

Parametry

conventionsList
IList<TConvention>

Seznam existujících instancí konvencí, které chcete zkontrolovat.

newConvention
TConvention

Nová konvence.

existingConventionType
Type

Typ existující konvence.

Návraty

true pokud byla přidána konvence.

Platí pro

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

Přidá konvenci před existující konvenci.

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

Parametry typu

TConvention

Typ konvence, který se přidává.

Parametry

conventionsList
List<TConvention>

Seznam existujících instancí konvencí, které chcete zkontrolovat.

newConvention
TConvention

Nová konvence.

existingConventionType
Type

Typ existující konvence.

Návraty

true pokud byla přidána konvence.

Platí pro