Table of Contents

Struct FixtureCollection.FixtureEnumerator

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

The fixture enumerator

public struct FixtureCollection.FixtureEnumerator : IEnumerator<Fixture>, IEnumerator, IDisposable

Implements

Inherited Members

Constructors

FixtureEnumerator(FixtureCollection, List<Fixture>)

Initializes a new instance of the Alis.Core.Physic.Dynamics.FixtureCollection.FixtureEnumerator class

public FixtureEnumerator(FixtureCollection collection, List<Fixture> list)

Parameters

collection FixtureCollection

The collection

list List<Fixture>

The list

Fields

_collection

The collection

private FixtureCollection _collection

Field Value

FixtureCollection

_generationStamp

The generation stamp

private readonly int _generationStamp

Field Value

int

_list

The list

private List<Fixture> _list

Field Value

List<Fixture>

i

The

private int i

Field Value

int

Properties

Current

Gets the value of the current

public Fixture Current { get; }

Property Value

Fixture

IEnumerator<Fixture>.Current

Gets the value of the current

Fixture IEnumerator<Fixture>.Current { get; }

Property Value

Fixture

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()