Partager via


ConventionSet.AddBefore Méthode

Définition

Surcharges

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

Ajoute une convention avant une convention existante.

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

Ajoute une convention avant une convention existante.

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

Ajoute une convention avant une convention existante.

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

Paramètres de type

TConvention

Type de convention ajouté.

Paramètres

conventionsList
IList<TConvention>

Liste des instances de convention existantes à analyser.

newConvention
TConvention

Nouvelle convention.

existingConventionType
Type

Type de la convention existante.

Retours

true si la convention a été ajoutée.

S’applique à

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

Ajoute une convention avant une convention existante.

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

Paramètres de type

TConvention

Type de convention ajouté.

Paramètres

conventionsList
List<TConvention>

Liste des instances de convention existantes à analyser.

newConvention
TConvention

Nouvelle convention.

existingConventionType
Type

Type de la convention existante.

Retours

true si la convention a été ajoutée.

S’applique à