Show / Hide Table of Contents

Interface IValueElementInfo

Contract for reflection elements holding a value.

Inherited Members
IElementInfo.Name
IElementInfo.FullName
IElementInfo.Annotations
IElementInfo.DeclaringContainer
IExpando.HasDynamicMember(String)
IExpando.ToDictionary(Func<String, String>, Func<Object, Object>)
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
IIndexable.Item[String]
IAttributeProvider.GetAttributes<TAttribute>()
Namespace: Kephas.Reflection
Assembly: Kephas.Core.dll
Syntax
public interface IValueElementInfo : IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider

Properties

| Improve this Doc View Source

ValueType

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 Source

GetValue(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.

| Improve this Doc View Source

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.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
ExpandoExtensions.Merge<T>(T, Object)
ExpandoExtensions.GetLaxValue<T>(IIndexable, String, T)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
AttributeProviderExtensions.GetAttribute<TAttribute>(IAttributeProvider)
RuntimeTypeInfoExtensions.IsExcludedFromModel(IAttributeProvider)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX