C# Class BTDB.EventStoreLayer.ObjectTypeDescriptor.DynamicObject

Inheritance: IDynamicMetaObjectProvider, IKnowDescriptor
Mostra file Open project: Bobris/BTDB

Public Methods

Method Description
DynamicObject ( ObjectTypeDescriptor ownerDescriptor ) : System
GetDescriptor ( ) : ITypeDescriptor
GetFieldByIdx ( int idx, string fieldName, ObjectTypeDescriptor descriptor ) : object
SetFieldByIdx ( int idx, string fieldName, ObjectTypeDescriptor descriptor, object value ) : void
SetFieldByIdxFast ( int idx, object value ) : void
ToString ( ) : string

Private Methods

Method Description
IDynamicMetaObjectProvider ( Expression parameter ) : DynamicMetaObject
ThrowMemberAccessException ( string fieldName ) : void

Method Details

DynamicObject() public method

public DynamicObject ( ObjectTypeDescriptor ownerDescriptor ) : System
ownerDescriptor ObjectTypeDescriptor
return System

GetDescriptor() public method

public GetDescriptor ( ) : ITypeDescriptor
return ITypeDescriptor

GetFieldByIdx() public method

public GetFieldByIdx ( int idx, string fieldName, ObjectTypeDescriptor descriptor ) : object
idx int
fieldName string
descriptor ObjectTypeDescriptor
return object

SetFieldByIdx() public method

public SetFieldByIdx ( int idx, string fieldName, ObjectTypeDescriptor descriptor, object value ) : void
idx int
fieldName string
descriptor ObjectTypeDescriptor
value object
return void

SetFieldByIdxFast() public method

public SetFieldByIdxFast ( int idx, object value ) : void
idx int
value object
return void

ToString() public method

public ToString ( ) : string
return string