Click or drag to resize

InstanceChangedEventArgs Class

Event data describing a transition from one instance to another.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Altaxo.MainSelfAccumulateableEventArgs
      Altaxo.MainInstanceChangedEventArgs

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class InstanceChangedEventArgs : SelfAccumulateableEventArgs

The InstanceChangedEventArgs type exposes the following members.

Constructors
 NameDescription
Public methodInstanceChangedEventArgs Initializes a new instance of the InstanceChangedEventArgs class.
Top
Properties
 NameDescription
Public propertyNewInstance Gets the new instance.
Public propertyOldInstance Gets the previous instance.
Top
Methods
 NameDescription
Public methodAdd Adds the specified event arguments.
(Overrides SelfAccumulateableEventArgsAdd(SelfAccumulateableEventArgs))
Public methodEquals Override to ensure that only one instance of SelfAccumulateableEventArgs is contained in the accumulated event args collection. You have to override Equals in the following way: two instances of the same type, which can be merged together, should return true (and GetHashCode should then return the same value).
(Overrides SelfAccumulateableEventArgsEquals(Object))
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCode Override to ensure that only one instance of SelfAccumulateableEventArgs is contained in the accumulated event args collection. You have to override GetHashCode in the following way: two instances of the same type, which can be merged together, should return the same hash code (and Equals should then return true).
(Overrides SelfAccumulateableEventArgsGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_newObject The new instance.
Protected field_oldObject The previous instance.
Top
See Also