ProviderConventionSetBuilder.ReplaceConvention<TConvention,TImplementation>(IList<TConvention>, TImplementation) Yöntem

Tanım

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

protected virtual bool ReplaceConvention<TConvention,TImplementation> (System.Collections.Generic.IList<TConvention> conventionsList, TImplementation newConvention) where TImplementation : TConvention;
abstract member ReplaceConvention : System.Collections.Generic.IList<'Convention> * 'Implementation -> bool
override this.ReplaceConvention : System.Collections.Generic.IList<'Convention> * 'Implementation -> bool
Protected Overridable Function ReplaceConvention(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

Şunlara uygulanır