ConventionSet.Replace<TConvention,TImplementation>(IList<TConvention>, TImplementation) Yöntem

Tanım

Var olan bir kuralı türetilmiş bir kuralla değiştirir.

public static bool Replace<TConvention,TImplementation> (System.Collections.Generic.IList<TConvention> conventionsList, TImplementation newConvention) where TImplementation : TConvention;
static member Replace : System.Collections.Generic.IList<'Convention> * 'Implementation -> bool
Public Shared Function Replace(Of TConvention, TImplementation) (conventionsList As IList(Of TConvention), newConvention As TImplementation) As Boolean

Tür Parametreleri

TConvention

Değiştirki kuralın türü.

TImplementation

Eski kuralın türü.

Parametreler

conventionsList
IList<TConvention>

Taranan mevcut kural örneklerinin listesi.

newConvention
TImplementation

Yeni kural.

Döndürülenler

Boolean

true kuralı değiştirilmişse.

Şunlara uygulanır