다음을 통해 공유


ProviderConventionSetBuilder.ReplaceConvention 메서드

정의

오버로드

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

기존 규칙을 파생 규칙으로 대체합니다.

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

기존 규칙을 파생 규칙으로 대체합니다.

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

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

기존 규칙을 파생 규칙으로 대체합니다.

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

형식 매개 변수

TConvention

대체되는 규칙의 형식입니다.

TImplementation

이전 규칙의 형식입니다.

매개 변수

conventionsList
IList<TConvention>

검사할 기존 규칙 인스턴스 목록입니다.

newConvention
TImplementation

새 규칙입니다.

반환

적용 대상

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

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

기존 규칙을 파생 규칙으로 대체합니다.

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

형식 매개 변수

TConvention

대체되는 규칙의 형식입니다.

TImplementation

이전 규칙의 형식입니다.

매개 변수

conventionsList
List<TConvention>

검사할 기존 규칙 인스턴스 목록입니다.

newConvention
TImplementation

새 규칙입니다.

반환

적용 대상