C# 클래스 MongoDB.Bson.Serialization.TypeNameDiscriminator

Supports using type names as discriminators.
파일 보기 프로젝트 열기: CloudMetal/mongo-csharp-driver 1 사용 예제들

공개 메소드들

메소드 설명
GetActualType ( string typeName ) : Type

Resolves a type name discriminator.

GetDiscriminator ( Type type ) : string

Gets a type name to be used as a discriminator (like AssemblyQualifiedName but shortened for common DLLs).

비공개 메소드들

메소드 설명
TryParseGenericTypeName ( string typeName, string &genericTypeDefinitionName, string &typeArgumentNames ) : bool
TypeNameDiscriminator ( ) : System

메소드 상세

GetActualType() 공개 정적인 메소드

Resolves a type name discriminator.
public static GetActualType ( string typeName ) : Type
typeName string The type name.
리턴 System.Type

GetDiscriminator() 공개 정적인 메소드

Gets a type name to be used as a discriminator (like AssemblyQualifiedName but shortened for common DLLs).
public static GetDiscriminator ( Type type ) : string
type System.Type The type.
리턴 string