Udostępnij za pośrednictwem


ConventionSet.AddBefore Metoda

Definicja

Przeciążenia

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

Dodaje konwencję przed istniejącą konwencją.

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

Dodaje konwencję przed istniejącą konwencją.

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

Dodaje konwencję przed istniejącą konwencją.

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 dodawanej konwencji.

Parametry

conventionsList
IList<TConvention>

Lista istniejących wystąpień konwencji do skanowania.

newConvention
TConvention

Nowa konwencja.

existingConventionType
Type

Typ istniejącej konwencji.

Zwraca

true jeśli została dodana konwencja.

Dotyczy

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

Dodaje konwencję przed istniejącą konwencją.

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 dodawanej konwencji.

Parametry

conventionsList
List<TConvention>

Lista istniejących wystąpień konwencji do skanowania.

newConvention
TConvention

Nowa konwencja.

existingConventionType
Type

Typ istniejącej konwencji.

Zwraca

true jeśli została dodana konwencja.

Dotyczy