Sdílet prostřednictvím


ProviderConventionSetBuilder.ReplaceConvention Metoda

Definice

Přetížení

ReplaceConvention<TConvention,TImplementation>(IList<TConvention>, TImplementation)

Nahradí existující konvenci odvozenou konvencí.

ReplaceConvention<TConvention,TImplementation>(List<TConvention>, TImplementation)

Nahradí existující konvenci odvozenou konvencí.

ReplaceConvention<TConvention,TImplementation>(IList<TConvention>, TImplementation)

Zdroj:
ProviderConventionSetBuilder.cs
Zdroj:
ProviderConventionSetBuilder.cs
Zdroj:
ProviderConventionSetBuilder.cs
Zdroj:
ProviderConventionSetBuilder.cs

Nahradí existující konvenci odvozenou konvencí.

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

Parametry typu

TConvention

Typ nahrazované konvence.

TImplementation

Typ staré konvence.

Parametry

conventionsList
IList<TConvention>

Seznam existujících instancí konvence ke kontrole.

newConvention
TImplementation

Nová konvence.

Návraty

Platí pro

ReplaceConvention<TConvention,TImplementation>(List<TConvention>, TImplementation)

Zdroj:
ProviderConventionSetBuilder.cs
Zdroj:
ProviderConventionSetBuilder.cs
Zdroj:
ProviderConventionSetBuilder.cs

Nahradí existující konvenci odvozenou konvencí.

protected virtual bool ReplaceConvention<TConvention,TImplementation> (System.Collections.Generic.List<TConvention> conventionsList, TImplementation newConvention) where TImplementation : TConvention;
abstract member ReplaceConvention : System.Collections.Generic.List<'Convention> * 'Implementation -> bool
override this.ReplaceConvention : System.Collections.Generic.List<'Convention> * 'Implementation -> bool
Protected Overridable Function ReplaceConvention(Of TConvention, TImplementation) (conventionsList As List(Of TConvention), newConvention As TImplementation) As Boolean

Parametry typu

TConvention

Typ nahrazované konvence.

TImplementation

Typ staré konvence.

Parametry

conventionsList
List<TConvention>

Seznam existujících instancí konvence ke kontrole.

newConvention
TImplementation

Nová konvence.

Návraty

Platí pro