Show / Hide Table of Contents

    Class AGSListChangedEventArgs<TItem>

    Event arguments for a list change.

    Inheritance
    System.Object
    AGSListChangedEventArgs<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 AGSListChangedEventArgs<TItem>
    Type Parameters
    Name Description
    TItem

    Constructors

    | Improve this Doc View Source

    AGSListChangedEventArgs(ListChangeType, AGSListItem<TItem>)

    Initializes a new instance of the AGSListChangedEventArgs<TItem> class.

    Declaration
    public AGSListChangedEventArgs(ListChangeType changeType, AGSListItem<TItem> item)
    Parameters
    Type Name Description
    ListChangeType changeType

    Change type.

    AGSListItem<TItem> item

    Item.

    | Improve this Doc View Source

    AGSListChangedEventArgs(ListChangeType, IEnumerable<AGSListItem<TItem>>)

    Initializes a new instance of the AGSListChangedEventArgs<TItem> class.

    Declaration
    public AGSListChangedEventArgs(ListChangeType changeType, IEnumerable<AGSListItem<TItem>> items)
    Parameters
    Type Name Description
    ListChangeType changeType

    Change type.

    System.Collections.Generic.IEnumerable<AGSListItem<TItem>> items

    Items.

    Properties

    | Improve this Doc View Source

    ChangeType

    How was the list changed?

    Declaration
    public ListChangeType ChangeType { get; }
    Property Value
    Type Description
    ListChangeType

    The type of the change.

    | Improve this Doc View Source

    Items

    Gets the items which were involved in the change (either added or removed depending on ChangeType).

    Declaration
    public IEnumerable<AGSListItem<TItem>> Items { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<AGSListItem<TItem>>

    The item.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX