C# Class BTDB.EventStoreLayer.ByteArrayTypeDescriptor

Inheritance: ITypeDescriptorMultipleNativeTypes
Show file Open project: Bobris/BTDB

Public Methods

Method Description
AnyOpNeedsCtx ( ) : bool
BuildHumanReadableFullName ( StringBuilder text, HashSet stack, uint indent ) : void
BuildNewDescriptorGenerator ( ) : ITypeNewDescriptorGenerator
ClearMappingToType ( ) : void
CloneAndMapNestedTypes ( ITypeDescriptorCallbacks typeSerializers, ITypeDescriptor>.Func map ) : ITypeDescriptor
ContainsField ( string name ) : bool
Equals ( ITypeDescriptor other ) : bool
Equals ( ITypeDescriptor other, HashSet stack ) : bool
FinishBuildFromType ( ITypeDescriptorFactory factory ) : bool
GenerateLoad ( IILGen ilGenerator, Action pushReader, Action pushCtx, Action pushDescriptor, Type targetType ) : void
GenerateSave ( IILGen ilGenerator, Action pushWriter, Action pushCtx, Action pushValue, Type valueType ) : void
GenerateSkip ( IILGen ilGenerator, Action pushReader, Action pushCtx ) : void
GetHashCode ( ) : int
GetNativeTypes ( ) : IEnumerable
GetPreferedType ( ) : Type
GetPreferedType ( Type targetType ) : Type
MapNestedTypes ( ITypeDescriptor>.Func map ) : void
NestedType ( int index ) : ITypeDescriptor

Method Details

AnyOpNeedsCtx() public method

public AnyOpNeedsCtx ( ) : bool
return bool

BuildHumanReadableFullName() public method

public BuildHumanReadableFullName ( StringBuilder text, HashSet stack, uint indent ) : void
text StringBuilder
stack HashSet
indent uint
return void

BuildNewDescriptorGenerator() public method

public BuildNewDescriptorGenerator ( ) : ITypeNewDescriptorGenerator
return ITypeNewDescriptorGenerator

ClearMappingToType() public method

public ClearMappingToType ( ) : void
return void

CloneAndMapNestedTypes() public method

public CloneAndMapNestedTypes ( ITypeDescriptorCallbacks typeSerializers, ITypeDescriptor>.Func map ) : ITypeDescriptor
typeSerializers ITypeDescriptorCallbacks
map ITypeDescriptor>.Func
return ITypeDescriptor

ContainsField() public method

public ContainsField ( string name ) : bool
name string
return bool

Equals() public method

public Equals ( ITypeDescriptor other ) : bool
other ITypeDescriptor
return bool

Equals() public method

public Equals ( ITypeDescriptor other, HashSet stack ) : bool
other ITypeDescriptor
stack HashSet
return bool

FinishBuildFromType() public method

public FinishBuildFromType ( ITypeDescriptorFactory factory ) : bool
factory ITypeDescriptorFactory
return bool

GenerateLoad() public method

public GenerateLoad ( IILGen ilGenerator, Action pushReader, Action pushCtx, Action pushDescriptor, Type targetType ) : void
ilGenerator IILGen
pushReader Action
pushCtx Action
pushDescriptor Action
targetType System.Type
return void

GenerateSave() public method

public GenerateSave ( IILGen ilGenerator, Action pushWriter, Action pushCtx, Action pushValue, Type valueType ) : void
ilGenerator IILGen
pushWriter Action
pushCtx Action
pushValue Action
valueType System.Type
return void

GenerateSkip() public method

public GenerateSkip ( IILGen ilGenerator, Action pushReader, Action pushCtx ) : void
ilGenerator IILGen
pushReader Action
pushCtx Action
return void

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetNativeTypes() public method

public GetNativeTypes ( ) : IEnumerable
return IEnumerable

GetPreferedType() public method

public GetPreferedType ( ) : Type
return System.Type

GetPreferedType() public method

public GetPreferedType ( Type targetType ) : Type
targetType System.Type
return System.Type

MapNestedTypes() public method

public MapNestedTypes ( ITypeDescriptor>.Func map ) : void
map ITypeDescriptor>.Func
return void

NestedType() public method

public NestedType ( int index ) : ITypeDescriptor
index int
return ITypeDescriptor