Show / Hide Table of Contents

    Interface IChildrenCollection

    A collection of children (to be used in a tree like structure).

    Inherited Members
    System.Collections.Generic.IEnumerable<AGS.API.IObject>.GetEnumerator()
    Namespace: AGS.API
    Assembly: AGS.API.dll
    Syntax
    public interface IChildrenCollection : IEnumerable<IObject>, IEnumerable

    Properties

    | Improve this Doc View Source

    Count

    The number of children.

    Declaration
    int Count { get; }
    Property Value
    Type Description
    System.Int32

    The count.

    Methods

    | Improve this Doc View Source

    AddChild(IObject)

    Adds a child.

    Declaration
    void AddChild(IObject child)
    Parameters
    Type Name Description
    IObject child

    Child.

    | Improve this Doc View Source

    HasChild(IObject)

    Checks whether the specified object is a child in this collection.

    Declaration
    bool HasChild(IObject child)
    Parameters
    Type Name Description
    IObject child

    Child.

    Returns
    Type Description
    System.Boolean

    true, if this is one of the existing children, false otherwise.

    | Improve this Doc View Source

    RemoveChild(IObject)

    Removes the child.

    Declaration
    void RemoveChild(IObject child)
    Parameters
    Type Name Description
    IObject child

    Child.

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