C# Class BTDB.EventStoreLayer.ListTypeDescriptor

Inheritance: ITypeDescriptor, IPersistTypeDescriptor
Mostrar archivo Open project: Bobris/BTDB Class Usage Examples

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
GetPreferedType ( ) : Type
GetPreferedType ( Type targetType ) : Type
InitFromItemDescriptor ( ITypeDescriptor descriptor ) : void
ListTypeDescriptor ( ITypeDescriptorCallbacks typeSerializers, AbstractBufferedReader reader, ITypeDescriptor>.Func nestedDescriptorReader ) : System
ListTypeDescriptor ( ITypeDescriptorCallbacks typeSerializers, ITypeDescriptor itemDesc ) : System
ListTypeDescriptor ( ITypeDescriptorCallbacks typeSerializers, Type type ) : System
MapNestedTypes ( ITypeDescriptor>.Func map ) : void
NestedType ( int index ) : ITypeDescriptor
Persist ( AbstractBufferedWriter writer, ITypeDescriptor>.Action nestedDescriptorPersistor ) : void

Private Methods

Method Description
GetItemType ( Type valueType ) : Type

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

GetPreferedType() public method

public GetPreferedType ( ) : Type
return System.Type

GetPreferedType() public method

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

InitFromItemDescriptor() public method

public InitFromItemDescriptor ( ITypeDescriptor descriptor ) : void
descriptor ITypeDescriptor
return void

ListTypeDescriptor() public method

public ListTypeDescriptor ( ITypeDescriptorCallbacks typeSerializers, AbstractBufferedReader reader, ITypeDescriptor>.Func nestedDescriptorReader ) : System
typeSerializers ITypeDescriptorCallbacks
reader BTDB.StreamLayer.AbstractBufferedReader
nestedDescriptorReader ITypeDescriptor>.Func
return System

ListTypeDescriptor() public method

public ListTypeDescriptor ( ITypeDescriptorCallbacks typeSerializers, ITypeDescriptor itemDesc ) : System
typeSerializers ITypeDescriptorCallbacks
itemDesc ITypeDescriptor
return System

ListTypeDescriptor() public method

public ListTypeDescriptor ( ITypeDescriptorCallbacks typeSerializers, Type type ) : System
typeSerializers ITypeDescriptorCallbacks
type System.Type
return System

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

Persist() public method

public Persist ( AbstractBufferedWriter writer, ITypeDescriptor>.Action nestedDescriptorPersistor ) : void
writer BTDB.StreamLayer.AbstractBufferedWriter
nestedDescriptorPersistor ITypeDescriptor>.Action
return void