Table of Contents

Class ControllerCollection

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

The controller collection class

public class ControllerCollection : IList<Controller>, ICollection<Controller>, IEnumerable<Controller>, IEnumerable

Inheritance

Implements

Inherited Members

Constructors

ControllerCollection(World)

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

public ControllerCollection(World world)

Parameters

world World

The world

Fields

_generationStamp

The generation stamp

internal int _generationStamp

Field Value

int

_list

The controller

internal readonly List<Controller> _list

Field Value

List<Controller>

_world

The world

private readonly World _world

Field Value

World

Properties

Count

Gets the value of the count

public int Count { get; }

Property Value

int

IsReadOnly

Gets the value of the is read only

public bool IsReadOnly { get; }

Property Value

bool

this[int]

The not supported exception

public Controller this[int index] { get; set; }

Property Value

Controller

Methods

Contains(Controller)

Describes whether this instance contains

public bool Contains(Controller item)

Parameters

item Controller

The item

Returns

bool

The bool

CopyTo(Controller[], int)

Copies the to using the specified array

public void CopyTo(Controller[] array, int arrayIndex)

Parameters

array Controller[]

The array

arrayIndex int

The array index

GetEnumerator()

Gets the enumerator

public ControllerCollection.ControllerEnumerator GetEnumerator()

Returns

ControllerCollection.ControllerEnumerator

The controller enumerator

IndexOf(Controller)

Indexes the of using the specified item

public int IndexOf(Controller item)

Parameters

item Controller

The item

Returns

int

The int

ICollection<Controller>.Add(Controller)

Adds the item

void ICollection<Controller>.Add(Controller item)

Parameters

item Controller

The item

Exceptions

NotSupportedException

ICollection<Controller>.Clear()

Clears this instance

void ICollection<Controller>.Clear()

Exceptions

NotSupportedException

ICollection<Controller>.Remove(Controller)

Describes whether this instance remove

bool ICollection<Controller>.Remove(Controller item)

Parameters

item Controller

The item

Returns

bool

The bool

IEnumerable<Controller>.GetEnumerator()

Gets the enumerator

IEnumerator<Controller> IEnumerable<Controller>.GetEnumerator()

Returns

IEnumerator<Controller>

An enumerator of controller

IList<Controller>.Insert(int, Controller)

Inserts the index

void IList<Controller>.Insert(int index, Controller item)

Parameters

index int

The index

item Controller

The item

Exceptions

NotSupportedException

IList<Controller>.RemoveAt(int)

Removes the at using the specified index

void IList<Controller>.RemoveAt(int index)

Parameters

index int

The index

Exceptions

NotSupportedException

IEnumerable.GetEnumerator()

Gets the enumerator

IEnumerator IEnumerable.GetEnumerator()

Returns

IEnumerator

The enumerator

See Also

IList<T>