Compartir a través de


ProviderConventionSetBuilder.ReplaceConvention Método

Definición

Sobrecargas

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

Reemplaza una convención existente por una convención derivada.

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

Reemplaza una convención existente por una convención derivada.

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

Source:
ProviderConventionSetBuilder.cs
Source:
ProviderConventionSetBuilder.cs
Source:
ProviderConventionSetBuilder.cs
Source:
ProviderConventionSetBuilder.cs

Reemplaza una convención existente por una convención derivada.

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

Parámetros de tipo

TConvention

Tipo de convención que se va a reemplazar.

TImplementation

Tipo de la convención antigua.

Parámetros

conventionsList
IList<TConvention>

Lista de instancias de convención existentes que se van a examinar.

newConvention
TImplementation

Nueva convención.

Devoluciones

Se aplica a

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

Source:
ProviderConventionSetBuilder.cs
Source:
ProviderConventionSetBuilder.cs
Source:
ProviderConventionSetBuilder.cs

Reemplaza una convención existente por una convención derivada.

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

Parámetros de tipo

TConvention

Tipo de convención que se va a reemplazar.

TImplementation

Tipo de la convención antigua.

Parámetros

conventionsList
List<TConvention>

Lista de instancias de convención existentes que se van a examinar.

newConvention
TImplementation

Nueva convención.

Devoluciones

Se aplica a