C# Class BTDB.FieldHandler.DictionaryFieldHandler

Inheritance: IFieldHandler, IFieldHandlerWithNestedFieldHandlers
显示文件 Open project: Bobris/BTDB Class Usage Examples

Public Methods

Method Description
DictionaryFieldHandler ( IFieldHandlerFactory fieldHandlerFactory, ITypeConvertorGenerator typeConvertorGenerator, Type type ) : System
DictionaryFieldHandler ( IFieldHandlerFactory fieldHandlerFactory, ITypeConvertorGenerator typeConvertorGenerator, byte configuration ) : System
EnumerateNestedFieldHandlers ( ) : IEnumerable
FreeContent ( IILGen ilGenerator, Action pushReaderOrCtx ) : bool
HandledType ( ) : Type
IsCompatibleWith ( Type type ) : bool
IsCompatibleWith ( Type type, FieldHandlerOptions options ) : bool
Load ( IILGen ilGenerator, Action pushReaderOrCtx ) : void
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
DictionaryFieldHandler ( IFieldHandlerFactory fieldHandlerFactory, ITypeConvertorGenerator typeConvertorGenerator, Type type, IFieldHandler keySpecialized, IFieldHandler valueSpecialized ) : System

Method Details

DictionaryFieldHandler() public method

public DictionaryFieldHandler ( IFieldHandlerFactory fieldHandlerFactory, ITypeConvertorGenerator typeConvertorGenerator, Type type ) : System
fieldHandlerFactory IFieldHandlerFactory
typeConvertorGenerator ITypeConvertorGenerator
type System.Type
return System

DictionaryFieldHandler() public method

public DictionaryFieldHandler ( IFieldHandlerFactory fieldHandlerFactory, ITypeConvertorGenerator typeConvertorGenerator, byte configuration ) : System
fieldHandlerFactory IFieldHandlerFactory
typeConvertorGenerator ITypeConvertorGenerator
configuration byte
return System

EnumerateNestedFieldHandlers() public method

public EnumerateNestedFieldHandlers ( ) : IEnumerable
return IEnumerable

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

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