Class BehaviorValue<TValue>
Default implementation of a generic behavior value.
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)
System.Object.ToString()
Namespace: Kephas.Behaviors
Assembly: Kephas.Core.dll
Syntax
public class BehaviorValue<TValue> : Expando, IBehaviorValue<TValue>, IBehaviorValue, IExpando, IDynamicMetaObjectProvider, IIndexable
Type Parameters
Name | Description |
---|---|
TValue | Type of the value. |
Constructors
| Improve this Doc View SourceBehaviorValue(TValue)
Initializes a new instance of the BehaviorValue<TValue> class.
Declaration
public BehaviorValue(TValue value)
Parameters
Type | Name | Description |
---|---|---|
TValue | value | The behavior value. |
Properties
| Improve this Doc View SourceValue
Gets or sets the behavior value.
Declaration
public TValue Value { get; protected set; }
Property Value
Type | Description |
---|---|
TValue | The behavior value. |
Explicit Interface Implementations
| Improve this Doc View SourceIBehaviorValue.Value
Gets the behavior value.
Declaration
object IBehaviorValue.Value { get; }
Returns
Type | Description |
---|---|
System.Object | The behavior value. |
Implements
System.Dynamic.IDynamicMetaObjectProvider