ConventionSet.AddBefore<TConvention>(IList<TConvention>, TConvention, Type) Yöntem

Tanım

Mevcut bir kuraldan önce bir kural ekler.

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

Tür Parametreleri

TConvention

Eklenen kuralın türü.

Parametreler

conventionsList
IList<TConvention>

Taranan mevcut kural örneklerinin listesi.

newConvention
TConvention

Yeni kural.

existingConventionType
Type

Mevcut kuralın türü.

Döndürülenler

Boolean

true Kuralın eklenmiştir.

Şunlara uygulanır