C# Class BTDB.EventStore2Layer.EventDeserializer

Inheritance: IEventDeserializer, ITypeDescriptorCallbacks, ITypeBinaryDeserializerContext
Show file Open project: Bobris/BTDB Class Usage Examples

Public Methods

Method Description
AddBackRef ( object obj ) : void
DescriptorOf ( Type type ) : ITypeDescriptor
DescriptorOf ( object obj ) : ITypeDescriptor
Deserialize ( object &@object, ByteBuffer buffer ) : bool
EventDeserializer ( ITypeNameMapper typeNameMapper = null, ITypeConvertorGenerator typeConvertorGenerator = null ) : System
IsSafeToLoad ( Type type ) : bool
LoadAsType ( ITypeDescriptor descriptor ) : Type
LoadAsType ( ITypeDescriptor descriptor, Type targetType ) : Type
LoadObject ( ) : object
ProcessMetadataLog ( ByteBuffer buffer ) : void
SkipObject ( ) : void

Private Methods

Method Description
LoaderFactory ( ITypeDescriptor descriptor ) : Func
NestedDescriptorReader ( AbstractBufferedReader reader ) : ITypeDescriptor

Method Details

AddBackRef() public method

public AddBackRef ( object obj ) : void
obj object
return void

DescriptorOf() public method

public DescriptorOf ( Type type ) : ITypeDescriptor
type System.Type
return ITypeDescriptor

DescriptorOf() public method

public DescriptorOf ( object obj ) : ITypeDescriptor
obj object
return ITypeDescriptor

Deserialize() public method

public Deserialize ( object &@object, ByteBuffer buffer ) : bool
@object object
buffer ByteBuffer
return bool

EventDeserializer() public method

public EventDeserializer ( ITypeNameMapper typeNameMapper = null, ITypeConvertorGenerator typeConvertorGenerator = null ) : System
typeNameMapper ITypeNameMapper
typeConvertorGenerator ITypeConvertorGenerator
return System

IsSafeToLoad() public method

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

LoadAsType() public method

public LoadAsType ( ITypeDescriptor descriptor ) : Type
descriptor ITypeDescriptor
return System.Type

LoadAsType() public method

public LoadAsType ( ITypeDescriptor descriptor, Type targetType ) : Type
descriptor ITypeDescriptor
targetType System.Type
return System.Type

LoadObject() public method

public LoadObject ( ) : object
return object

ProcessMetadataLog() public method

public ProcessMetadataLog ( ByteBuffer buffer ) : void
buffer ByteBuffer
return void

SkipObject() public method

public SkipObject ( ) : void
return void