C# 클래스 MongoDB.Bson.Serialization.Conventions.HierarchicalDiscriminatorConvention

Represents a discriminator convention where the discriminator is an array of all the discriminators provided by the class maps of the root class down to the actual type.
상속: StandardDiscriminatorConvention
파일 보기 프로젝트 열기: egametang/Egametang

공개 메소드들

메소드 설명
GetDiscriminator ( Type nominalType, Type actualType ) : BsonValue

Gets the discriminator value for an actual type.

HierarchicalDiscriminatorConvention ( string elementName ) : System

Initializes a new instance of the HierarchicalDiscriminatorConvention class.

메소드 상세

GetDiscriminator() 공개 메소드

Gets the discriminator value for an actual type.
public GetDiscriminator ( Type nominalType, Type actualType ) : BsonValue
nominalType System.Type The nominal type.
actualType System.Type The actual type.
리턴 BsonValue

HierarchicalDiscriminatorConvention() 공개 메소드

Initializes a new instance of the HierarchicalDiscriminatorConvention class.
public HierarchicalDiscriminatorConvention ( string elementName ) : System
elementName string The element name.
리턴 System