C# Class BTDB.FieldHandler.EnumFieldHandler

Inheritance: IFieldHandler
Afficher le fichier Open project: Bobris/BTDB Class Usage Examples

Méthodes publiques

Méthode Description
EnumFieldHandler ( Type enumType ) : System
EnumFieldHandler ( byte configuration ) : System
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

Méthode Description
IsFlagsEnum ( Type type ) : bool
IsSignedEnum ( Type enumType ) : bool

Method Details

EnumFieldHandler() public méthode

public EnumFieldHandler ( Type enumType ) : System
enumType System.Type
Résultat System

EnumFieldHandler() public méthode

public EnumFieldHandler ( byte configuration ) : System
configuration byte
Résultat System

FreeContent() public méthode

public FreeContent ( IILGen ilGenerator, Action pushReaderOrCtx ) : bool
ilGenerator IILGen
pushReaderOrCtx Action
Résultat bool

HandledType() public méthode

public HandledType ( ) : Type
Résultat System.Type

IsCompatibleWith() public static méthode

public static IsCompatibleWith ( Type type ) : bool
type System.Type
Résultat bool

IsCompatibleWith() public méthode

public IsCompatibleWith ( Type type, FieldHandlerOptions options ) : bool
type System.Type
options FieldHandlerOptions
Résultat bool

Load() public méthode

public Load ( IILGen ilGenerator, Action pushReaderOrCtx ) : void
ilGenerator IILGen
pushReaderOrCtx Action
Résultat void

NeedsCtx() public méthode

public NeedsCtx ( ) : bool
Résultat bool

Save() public méthode

public Save ( IILGen ilGenerator, Action pushWriterOrCtx, Action pushValue ) : void
ilGenerator IILGen
pushWriterOrCtx Action
pushValue Action
Résultat void

Skip() public méthode

public Skip ( IILGen ilGenerator, Action pushReaderOrCtx ) : void
ilGenerator IILGen
pushReaderOrCtx Action
Résultat void

SpecializeLoadForType() public méthode

public SpecializeLoadForType ( Type type, IFieldHandler typeHandler ) : IFieldHandler
type System.Type
typeHandler IFieldHandler
Résultat IFieldHandler

SpecializeSaveForType() public méthode

public SpecializeSaveForType ( Type type ) : IFieldHandler
type System.Type
Résultat IFieldHandler