Click or drag to resize

CollectionChangeContext Class

Represents a set of available information to collection change handling participants like collection change interceptors.
Inheritance Hierarchy
SystemObject
  TrackerDog.CollectionHandlingCollectionChangeContext

Namespace:  TrackerDog.CollectionHandling
Assembly:  TrackerDog (in TrackerDog.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
public sealed class CollectionChangeContext

The CollectionChangeContext type exposes the following members.

Constructors
  NameDescription
Public methodCollectionChangeContext
Initializes a new instance of the CollectionChangeContext class
Top
Properties
  NameDescription
Public propertyAddedItems
Gets the set of added item tracking
Public propertyChange
Gets or sets the change produced by a collection change handler like a collection change interceptor
Public propertyCollection
Gets the collection subject of changes
Public propertyItemsBefore
Gets a copy of collection items before the collection was changed
Public propertyParentObjectProperty
Gets a reference to the property which holds the collection instance
Public propertyRemovedItems
Gets the set of removed item tracking
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
Extension Methods
  NameDescription
Public Extension MethodAcceptChanges
Accepts all changes made to the change-tracked object and its associations.
(Defined by ObjectChangeTrackingExtensions.)
Public Extension MethodCurrentPropertyValue
Gets the last value of given selected property.
(Defined by ObjectChangeTrackingExtensions.)
Public Extension MethodGetActualTypeIfTrackable
Gets if non-proxied object type is already change-trackable
(Defined by ObjectChangeTrackingExtensions.)
Public Extension MethodGetChangeTracker
Gets current tracked object change tracker.
(Defined by ObjectChangeTrackingExtensions.)
Public Extension MethodGetPropertyTracking(PropertyInfo)Overloaded.
Gets a property change tracking for a given property
(Defined by ObjectChangeTrackingExtensions.)
Public Extension MethodGetPropertyTracking(String)Overloaded.
Gets a property change tracking for a given property
(Defined by ObjectChangeTrackingExtensions.)
Public Extension MethodIsTrackable
Determines if a given object is a change-trackable object already
(Defined by ObjectChangeTrackingExtensions.)
Public Extension MethodOldPropertyValue
Gets the value of given selected property that had when the change-tracked object started to track its changes.
(Defined by ObjectChangeTrackingExtensions.)
Public Extension MethodPropertyHasChanged
Determines if a given property by name has changed since its tracking was started.
(Defined by ObjectChangeTrackingExtensions.)
Public Extension MethodUndoChanges
Undoes all changes made to the change-tracked object and its associations.
(Defined by ObjectChangeTrackingExtensions.)
Top
See Also