C# Class BTDB.FieldHandler.SimpleFieldHandlerBase

Inheritance: IFieldHandler
Mostra file Open project: Bobris/BTDB

Public Methods

Method Description
FreeContent ( IILGen ilGenerator, Action pushReaderOrCtx ) : bool
HandledType ( ) : Type
IsCompatibleWith ( Type type, FieldHandlerOptions options ) : bool
Load ( IILGen ilGenerator, Action pushReaderOrCtx ) : void
NeedsCtx ( ) : bool
Save ( IILGen ilGenerator, Action pushWriterOrCtx, Action pushValue ) : void
SimpleFieldHandlerBase ( string name, MethodInfo loader, MethodInfo skipper, MethodInfo saver ) : System
Skip ( IILGen ilGenerator, Action pushReaderOrCtx ) : void
SpecializeLoadForType ( Type type, IFieldHandler typeHandler ) : IFieldHandler
SpecializeSaveForType ( Type type ) : IFieldHandler

Method Details

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

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

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

SimpleFieldHandlerBase() public method

public SimpleFieldHandlerBase ( string name, MethodInfo loader, MethodInfo skipper, MethodInfo saver ) : System
name string
loader System.Reflection.MethodInfo
skipper System.Reflection.MethodInfo
saver System.Reflection.MethodInfo
return System

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