C# Class MsgPack.Serialization.TypeKeyRepository

Afficher le fichier Open project: msgpack/msgpack-cli Class Usage Examples

Méthodes publiques

Méthode Description
Get ( Type type, object &matched, object &genericDefinitionMatched ) : bool
Register ( Type type, object entry, Type nullableType, object nullableValue, SerializerRegistrationOptions options ) : bool
TypeKeyRepository ( ) : System
TypeKeyRepository ( object>.Dictionary table ) : System
TypeKeyRepository ( TypeKeyRepository copiedFrom ) : System
Unregister ( Type type ) : bool

Private Methods

Méthode Description
Contains ( Type type ) : bool
ContainsType ( Type baseType, Type nullableType ) : bool
GetClonedTable ( ) : object>.Dictionary
GetCore ( Type type, object &matched, object &genericDefinitionMatched ) : bool
GetEntries ( ) : object>>.IEnumerable
RegisterCore ( Type key, object value, Type nullableType, object nullableValue, SerializerRegistrationOptions options ) : bool
UnregisterCore ( Type key ) : bool

Method Details

Get() public méthode

public Get ( Type type, object &matched, object &genericDefinitionMatched ) : bool
type System.Type
matched object
genericDefinitionMatched object
Résultat bool

Register() public méthode

public Register ( Type type, object entry, Type nullableType, object nullableValue, SerializerRegistrationOptions options ) : bool
type System.Type
entry object
nullableType System.Type
nullableValue object
options SerializerRegistrationOptions
Résultat bool

TypeKeyRepository() public méthode

public TypeKeyRepository ( ) : System
Résultat System

TypeKeyRepository() public méthode

public TypeKeyRepository ( object>.Dictionary table ) : System
table object>.Dictionary
Résultat System

TypeKeyRepository() public méthode

public TypeKeyRepository ( TypeKeyRepository copiedFrom ) : System
copiedFrom TypeKeyRepository
Résultat System

Unregister() public méthode

public Unregister ( Type type ) : bool
type System.Type
Résultat bool