Share via


ProviderConventionSetBuilder.ReplaceConvention Méthode

Définition

Surcharges

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

Remplace une convention existante par une convention dérivée.

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

Remplace une convention existante par une convention dérivée.

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

Remplace une convention existante par une convention dérivée.

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

Paramètres de type

TConvention

Type de convention en cours de remplacement.

TImplementation

Type de l’ancienne convention.

Paramètres

conventionsList
IList<TConvention>

Liste des instances de convention existantes à analyser.

newConvention
TImplementation

La nouvelle convention.

Retours

S’applique à

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

Remplace une convention existante par une convention dérivée.

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

Paramètres de type

TConvention

Type de convention en cours de remplacement.

TImplementation

Type de l’ancienne convention.

Paramètres

conventionsList
List<TConvention>

Liste des instances de convention existantes à analyser.

newConvention
TImplementation

La nouvelle convention.

Retours

S’applique à