Class RuntimeFieldInfo<T, TMember>
Implementation of IRuntimeFieldInfo for runtime fields.
Inheritance
System.Object
System.Dynamic.DynamicObject
RuntimeFieldInfo<T, TMember>
Implements
System.Dynamic.IDynamicMetaObjectProvider
Inherited Members
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Kephas.Runtime
Assembly: Kephas.Core.dll
Syntax
public sealed class RuntimeFieldInfo<T, TMember> : RuntimeFieldInfo, IRuntimeFieldInfo, IFieldInfo, IValueElementInfo, IRuntimeElementInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Type Parameters
Name | Description |
---|---|
T | The container type. |
TMember | The member type. |
Methods
| Improve this Doc View SourceGetThisTypeInfo()
Gets the ITypeInfo of this expando object.
Declaration
protected override ITypeInfo GetThisTypeInfo()
Returns
Type | Description |
---|---|
ITypeInfo | The ITypeInfo of this expando object. |
Overrides
| Improve this Doc View SourceGetValue(Object)
Gets the value from the specified object.
Declaration
public override object GetValue(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object. |
Returns
Type | Description |
---|---|
System.Object | The value. |
Overrides
Exceptions
Type | Condition |
---|---|
System.MemberAccessException | Property value cannot be get. |
SetValue(Object, Object)
Sets the specified value.
Declaration
public override void SetValue(object obj, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object. |
System.Object | value | The value. |
Overrides
Exceptions
Type | Condition |
---|---|
System.MemberAccessException | Property value cannot be set. |
Implements
System.Dynamic.IDynamicMetaObjectProvider