C# Class MsgPack.Serialization.TypeKeyRepository

Exibir arquivo Open project: msgpack/msgpack-cli Class Usage Examples

Public Methods

Method 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

Method 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 method

public Get ( Type type, object &matched, object &genericDefinitionMatched ) : bool
type System.Type
matched object
genericDefinitionMatched object
return bool

Register() public method

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
return bool

TypeKeyRepository() public method

public TypeKeyRepository ( ) : System
return System

TypeKeyRepository() public method

public TypeKeyRepository ( object>.Dictionary table ) : System
table object>.Dictionary
return System

TypeKeyRepository() public method

public TypeKeyRepository ( TypeKeyRepository copiedFrom ) : System
copiedFrom TypeKeyRepository
return System

Unregister() public method

public Unregister ( Type type ) : bool
type System.Type
return bool