docs.unity.cn
    Show / Hide Table of Contents

    Class PortListEnum<T>

    Class PortListEnum. Implements the IEnumerator<T>

    Inheritance
    Object
    PortListEnum<T>
    Namespace: Mechatronics.SystemGraph
    Syntax
    public class PortListEnum<T> : IEnumerator<T>, IDisposable, IEnumerator
    Type Parameters
    Name Description
    T

    Constructors

    PortListEnum(PortList<T>)

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

    Declaration
    public PortListEnum(PortList<T> lst)
    Parameters
    Type Name Description
    PortList<T> lst

    The LST.

    Fields

    internalLst

    The internal list.

    Declaration
    public PortList<T> internalLst
    Field Value
    Type Description
    PortList<T>

    Properties

    Current

    Gets the current value.

    Declaration
    public T Current { get; }
    Property Value
    Type Description
    T

    The current value.

    Exceptions
    Type Condition
    InvalidOperationException

    Methods

    Dispose()

    Disposes this instance.

    Declaration
    public void Dispose()

    MoveNext()

    Moves to next.

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    Boolean

    true if success, false otherwise.

    Reset()

    Resets this instance.

    Declaration
    public void Reset()

    See Also

    IEnumerator<T>
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, October 18, 2022
    Terms of use