Interface IValueElementInfo
Contract for reflection elements holding a value.
Inherited Members
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
Namespace: Kephas.Reflection
Assembly: Kephas.Core.dll
Syntax
public interface IValueElementInfo : IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Properties
| Improve this Doc View SourceValueType
Gets the type of the element's value.
Declaration
ITypeInfo ValueType { get; }
Property Value
Type | Description |
---|---|
ITypeInfo | The type of the element's value. |
Methods
| Improve this Doc View SourceGetValue(Object)
Gets the value from the specified object.
Declaration
object GetValue(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object. |
Returns
Type | Description |
---|---|
System.Object | The value. |
SetValue(Object, Object)
Sets the specified value.
Declaration
void SetValue(object obj, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object. |
System.Object | value | The value. |