Class AGSHashSetChangedEventArgs<TItem>
Event arguments for a hash set change event.
Inheritance
System.Object
AGSHashSetChangedEventArgs<TItem>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public class AGSHashSetChangedEventArgs<TItem>
Type Parameters
Name | Description |
---|---|
TItem |
Constructors
| Improve this Doc View SourceAGSHashSetChangedEventArgs(ListChangeType, TItem)
Initializes a new instance of the AGSHashSetChangedEventArgs<TItem> class.
Declaration
public AGSHashSetChangedEventArgs(ListChangeType changeType, TItem item)
Parameters
Type | Name | Description |
---|---|---|
ListChangeType | changeType | Change type. |
TItem | item | Item. |
AGSHashSetChangedEventArgs(ListChangeType, IEnumerable<TItem>)
Initializes a new instance of the AGSHashSetChangedEventArgs<TItem> class.
Declaration
public AGSHashSetChangedEventArgs(ListChangeType changeType, IEnumerable<TItem> items)
Parameters
Type | Name | Description |
---|---|---|
ListChangeType | changeType | Change type. |
System.Collections.Generic.IEnumerable<TItem> | items | Items. |
Properties
| Improve this Doc View SourceChangeType
Was an item added or removed from the set?
Declaration
public ListChangeType ChangeType { get; }
Property Value
Type | Description |
---|---|
ListChangeType | The type of the change. |
Items
Gets the items which were involved in the change (either added or removed depending on ChangeType).
Declaration
public IEnumerable<TItem> Items { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<TItem> | The item. |