Table of Contents

Struct ControllerCollection.ControllerEnumerator

Namespace
Alis.Core.Physic.Dynamics
Assembly
Alis.dll

The controller enumerator

public struct ControllerCollection.ControllerEnumerator : IEnumerator<Controller>, IEnumerator, IDisposable

Implements

Inherited Members

Constructors

ControllerEnumerator(ControllerCollection, List<Controller>)

Initializes a new instance of the Alis.Core.Physic.Dynamics.ControllerCollection.ControllerEnumerator class

public ControllerEnumerator(ControllerCollection collection, List<Controller> list)

Parameters

collection ControllerCollection

The collection

list List<Controller>

The list

Fields

_collection

The collection

private ControllerCollection _collection

Field Value

ControllerCollection

_generationStamp

The generation stamp

private readonly int _generationStamp

Field Value

int

_list

The list

private List<Controller> _list

Field Value

List<Controller>

i

The

private int i

Field Value

int

Properties

Current

Gets the value of the current

public Controller Current { get; }

Property Value

Controller

IEnumerator<Controller>.Current

Gets the value of the current

Controller IEnumerator<Controller>.Current { get; }

Property Value

Controller

IEnumerator.Current

Gets the value of the current

object IEnumerator.Current { get; }

Property Value

object

Methods

MoveNext()

Describes whether this instance move next

public bool MoveNext()

Returns

bool

The bool

Exceptions

InvalidOperationException

Collection was modified.

IEnumerator.Reset()

Resets this instance

void IEnumerator.Reset()

IDisposable.Dispose()

Disposes this instance

void IDisposable.Dispose()