Class PropertyValue<TObject, TValue>
- Namespace
- Dynamic
Data .Binding
- Assembly
- DynamicData.dll
Container holding sender and latest property value.
Type Parameters
TObject
The type of the object.
TValue
The type of the value.
- Inheritance
-
PropertyValue<TObject, TValue>
- Implements
-
IEquatable<Property
Value <TObject, TValue>>
Constructors
PropertyValue(TObject, TValue)
Initializes a new instance of the PropertyValue<TObject, TValue> class.
Parameters
sender
TObjectThe sender.
value
TValueThe value.
Properties
Sender
Gets the Sender.
Property Value
- TObject
Value
Gets latest observed value.
Property Value
- TValue
Methods
Equals(PropertyValue<TObject, TValue>?)
Parameters
other
PropertyValue <TObject, TValue>
Returns
Equals(object?)
Parameters
obj
object
Returns
GetHashCode()
Returns
ToString()
Returns
Operators
operator ==(PropertyValue<TObject, TValue>?, PropertyValue<TObject, TValue>?)
Implements the operator ==.
public static bool operator ==(PropertyValue<TObject, TValue>? left, PropertyValue<TObject, TValue>? right)
Parameters
left
PropertyValue <TObject, TValue>The left.
right
PropertyValue <TObject, TValue>The right.
Returns
- bool
The result of the operator.
operator !=(PropertyValue<TObject, TValue>?, PropertyValue<TObject, TValue>?)
Implements the operator !=.
public static bool operator !=(PropertyValue<TObject, TValue>? left, PropertyValue<TObject, TValue>? right)
Parameters
left
PropertyValue <TObject, TValue>The left.
right
PropertyValue <TObject, TValue>The right.
Returns
- bool
The result of the operator.