Bagikan melalui


ConventionSet.AddBefore Metode

Definisi

Overload

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

Menambahkan konvensi sebelum konvensi yang ada.

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

Menambahkan konvensi sebelum konvensi yang ada.

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

Menambahkan konvensi sebelum konvensi yang ada.

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

Jenis parameter

TConvention

Jenis konvensi yang ditambahkan.

Parameter

conventionsList
IList<TConvention>

Daftar instans konvensi yang ada untuk dipindai.

newConvention
TConvention

Konvensi baru.

existingConventionType
Type

Jenis konvensi yang ada.

Mengembalikan

true jika konvensi ditambahkan.

Berlaku untuk

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

Menambahkan konvensi sebelum konvensi yang ada.

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

Jenis parameter

TConvention

Jenis konvensi yang ditambahkan.

Parameter

conventionsList
List<TConvention>

Daftar instans konvensi yang ada untuk dipindai.

newConvention
TConvention

Konvensi baru.

existingConventionType
Type

Jenis konvensi yang ada.

Mengembalikan

true jika konvensi ditambahkan.

Berlaku untuk