ProviderConventionSetBuilder.ReplaceConvention Metoda

Definicja

Przeciążenia

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

Zastępuje istniejącą konwencję konwencją pochodną.

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

Zastępuje istniejącą konwencję konwencją pochodną.

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

Zastępuje istniejącą konwencję konwencją pochodną.

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 zastępowanej konwencji.

TImplementation

Typ starej konwencji.

Parametry

conventionsList
IList<TConvention>

Lista istniejących wystąpień konwencji do skanowania.

newConvention
TImplementation

Nowa konwencja.

Zwraca

Dotyczy

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

Zastępuje istniejącą konwencję konwencją pochodną.

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 zastępowanej konwencji.

TImplementation

Typ starej konwencji.

Parametry

conventionsList
List<TConvention>

Lista istniejących wystąpień konwencji do skanowania.

newConvention
TImplementation

Nowa konwencja.

Zwraca

Dotyczy