Show / Hide Table of Contents

Class RuntimePropertyInfo<T, TMember>

Implementation of IRuntimePropertyInfo for typed runtime properties.

Inheritance
System.Object
System.Dynamic.DynamicObject
ExpandoBase
Expando
RuntimePropertyInfo
RuntimePropertyInfo<T, TMember>
Implements
IRuntimePropertyInfo
IPropertyInfo
IValueElementInfo
IRuntimeElementInfo
IElementInfo
IExpando
System.Dynamic.IDynamicMetaObjectProvider
IIndexable
IAttributeProvider
Inherited Members
RuntimePropertyInfo.Name
RuntimePropertyInfo.FullName
RuntimePropertyInfo.Annotations
RuntimePropertyInfo.DeclaringContainer
RuntimePropertyInfo.PropertyInfo
RuntimePropertyInfo.IsStatic
RuntimePropertyInfo.ValueType
RuntimePropertyInfo.IValueElementInfo.ValueType
RuntimePropertyInfo.GetUnderlyingElementInfo()
RuntimePropertyInfo.GetAttributes<TAttribute>()
RuntimePropertyInfo.ToString()
ExpandoBase.Item[String]
ExpandoBase.GetDynamicMemberNames()
ExpandoBase.HasDynamicMember(String)
ExpandoBase.TryGetMember(GetMemberBinder, Object)
ExpandoBase.TrySetMember(SetMemberBinder, Object)
ExpandoBase.TryInvokeMember(InvokeMemberBinder, Object[], Object)
ExpandoBase.ToDictionary(Func<String, String>, Func<Object, Object>)
ExpandoBase.GetInnerObjectTypeInfo()
ExpandoBase.TryGetValue(String, Object)
ExpandoBase.TrySetValue(String, Object)
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 RuntimePropertyInfo<T, TMember> : RuntimePropertyInfo, IRuntimePropertyInfo, IPropertyInfo, IValueElementInfo, IRuntimeElementInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Type Parameters
Name Description
T

The container type.

TMember

The member type.

Properties

| Improve this Doc View Source

CanRead

Gets a value indicating whether the property value can be read.

Declaration
public override bool CanRead { get; }
Property Value
Type Description
System.Boolean

true if the property value can be read; otherwise false.

Overrides
RuntimePropertyInfo.CanRead
| Improve this Doc View Source

CanWrite

Gets a value indicating whether the property can be written to.

Declaration
public override bool CanWrite { get; }
Property Value
Type Description
System.Boolean

true if the property can be written to; otherwise false.

Overrides
RuntimePropertyInfo.CanWrite

Methods

| Improve this Doc View Source

GetThisTypeInfo()

Gets the ITypeInfo of this expando object.

Declaration
protected override ITypeInfo GetThisTypeInfo()
Returns
Type Description
ITypeInfo

The ITypeInfo of this expando object.

Overrides
RuntimePropertyInfo.GetThisTypeInfo()
| Improve this Doc View Source

GetValue(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
RuntimePropertyInfo.GetValue(Object)
Exceptions
Type Condition
System.MemberAccessException

Property value cannot be get.

| Improve this Doc View Source

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
RuntimePropertyInfo.SetValue(Object, Object)
Exceptions
Type Condition
System.MemberAccessException

Property value cannot be set.

Implements

IRuntimePropertyInfo
IPropertyInfo
IValueElementInfo
IRuntimeElementInfo
IElementInfo
IExpando
System.Dynamic.IDynamicMetaObjectProvider
IIndexable
IAttributeProvider

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)
LocalizationHelper.GetLocalization(IPropertyInfo)
ReflectionHelper.GetTypeInfo(Object)
AttributeProviderExtensions.GetAttribute<TAttribute>(IAttributeProvider)
RuntimeTypeInfoExtensions.IsExcludedFromModel(IAttributeProvider)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX