Click or drag to resize

MemberChangedEventArgsTChangeType, TValue Class

Custom event argument class which is used to signal a change in a commandified member
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    SD.Tools.Algorithmia.GeneralDataStructures.EventArgumentsMemberChangedEventArgsTChangeType, TValue

Namespace:  SD.Tools.Algorithmia.GeneralDataStructures.EventArguments
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.3.3.0 (1.3.18.0209)
Syntax
[SerializableAttribute]
public class MemberChangedEventArgs<TChangeType, TValue> : EventArgs

Type Parameters

TChangeType
TValue

The MemberChangedEventArgsTChangeType, TValue type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyNewValue
Gets or sets the new value. OriginalValue and NewValue differ when the member raising the event this argument is used in is set to a new value. Original and NewValue are equal if the value of the member raising this event is changed internally (if it's mutable) and it implements INotifyElementChanged
Public propertyOriginalValue
Gets or sets the original value. OriginalValue and NewValue differ when the member raising the event this argument is used in is set to a new value. Original and NewValue are equal if the value of the member raising this event is changed internally (if it's mutable) and it implements INotifyElementChanged
Public propertyTypeOfChange
Gets / sets typeOfChange
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
When the value is a mutable object and its contents is mutated, a commandified member containing that value will raise its ValueChanged event. In that case, originalValue and newValue will be the same.
See Also