SaaS CMS has officially launched! Learn more now.

Class CollectionChangedEventArgs<T>

Represents collection with change tracking event arguments.

Inheritance
System.Object
System.EventArgs
CollectionChangedEventArgs<T>
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Data
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 11.8.3
Syntax
public class CollectionChangedEventArgs<T> : EventArgs
Type Parameters
Name Description
T

Constructors

CollectionChangedEventArgs(CollectionChangeType, T, T)

Initializes a new instance of the CollectionChangedEventArgs<T> class.

Declaration
public CollectionChangedEventArgs(CollectionChangeType change, T item, T replacement)
Parameters
Type Name Description
CollectionChangeType change

The change.

T item

The item.

T replacement

The replacement.

Properties

ChangedItem

Gets or sets the changed item.

Declaration
public T ChangedItem { get; set; }
Property Value
Type Description
T

The changed item.

ChangeType

Gets or sets the type of the change.

Declaration
public CollectionChangeType ChangeType { get; set; }
Property Value
Type Description
CollectionChangeType

The type of the change.

ReplacedWith

Gets or sets the replaced with.

Declaration
public T ReplacedWith { get; set; }
Property Value
Type Description
T

The replaced with.