C# Class BTDB.FieldHandler.DBObjectFieldHandler

Inheritance: IFieldHandler, IFieldHandlerWithInit
Show file Open project: Bobris/BTDB

Public Methods

Method Description
DBObjectFieldHandler ( IObjectDB objectDB, Type type ) : System
DBObjectFieldHandler ( IObjectDB objectDB, byte configuration ) : System
FreeContent ( IILGen ilGenerator, Action pushReaderOrCtx ) : bool
HandledType ( ) : Type
Init ( IILGen ilGenerator, Action pushReaderCtx ) : void
IsCompatibleWith ( Type type ) : bool
IsCompatibleWith ( Type type, FieldHandlerOptions options ) : bool
Load ( IILGen ilGenerator, Action pushReaderOrCtx ) : void
NeedInit ( ) : bool
NeedsCtx ( ) : bool
Save ( IILGen ilGenerator, Action pushWriterOrCtx, Action pushValue ) : void
Skip ( IILGen ilGenerator, Action pushReaderOrCtx ) : void
SpecializeLoadForType ( Type type, IFieldHandler typeHandler ) : IFieldHandler
SpecializeSaveForType ( Type type ) : IFieldHandler

Private Methods

Method Description
CreateType ( ) : Type
IsIIndirect ( Type ti ) : bool
Unwrap ( Type type ) : Type

Method Details

DBObjectFieldHandler() public method

public DBObjectFieldHandler ( IObjectDB objectDB, Type type ) : System
objectDB IObjectDB
type System.Type
return System

DBObjectFieldHandler() public method

public DBObjectFieldHandler ( IObjectDB objectDB, byte configuration ) : System
objectDB IObjectDB
configuration byte
return System

FreeContent() public method

public FreeContent ( IILGen ilGenerator, Action pushReaderOrCtx ) : bool
ilGenerator IILGen
pushReaderOrCtx Action
return bool

HandledType() public method

public HandledType ( ) : Type
return System.Type

Init() public method

public Init ( IILGen ilGenerator, Action pushReaderCtx ) : void
ilGenerator IILGen
pushReaderCtx Action
return void

IsCompatibleWith() public static method

public static IsCompatibleWith ( Type type ) : bool
type System.Type
return bool

IsCompatibleWith() public method

public IsCompatibleWith ( Type type, FieldHandlerOptions options ) : bool
type System.Type
options FieldHandlerOptions
return bool

Load() public method

public Load ( IILGen ilGenerator, Action pushReaderOrCtx ) : void
ilGenerator IILGen
pushReaderOrCtx Action
return void

NeedInit() public method

public NeedInit ( ) : bool
return bool

NeedsCtx() public method

public NeedsCtx ( ) : bool
return bool

Save() public method

public Save ( IILGen ilGenerator, Action pushWriterOrCtx, Action pushValue ) : void
ilGenerator IILGen
pushWriterOrCtx Action
pushValue Action
return void

Skip() public method

public Skip ( IILGen ilGenerator, Action pushReaderOrCtx ) : void
ilGenerator IILGen
pushReaderOrCtx Action
return void

SpecializeLoadForType() public method

public SpecializeLoadForType ( Type type, IFieldHandler typeHandler ) : IFieldHandler
type System.Type
typeHandler IFieldHandler
return IFieldHandler

SpecializeSaveForType() public method

public SpecializeSaveForType ( Type type ) : IFieldHandler
type System.Type
return IFieldHandler