monotooth : monotooth.Model.Device Namespace

DevicePool Class

A simple class to hold the devices in.

[System.Reflection.DefaultMember("Item")]
public class DevicePool : CollectionBase


Remarks

To be added.

Members

See Also: Inherited members from CollectionBase.

Constructors

The default constructor.

Properties

Item [int]
default property
IRemoteDevice . A special index operator. This is needed to make this collection foreach compatible.

Methods

Add (IRemoteDevice)
Adds a device to this pool.
Remove (IRemoteDevice)
Remove a device from the pool.

Member Details

DevicePool Constructor

public DevicePool ()

The default constructor.

Remarks

To be added.

Add Method

public virtual void Add (IRemoteDevice dev)

Adds a device to this pool.

Parameters

dev
The device to add.

Remarks

To be added.

Item Property

public virtual IRemoteDevice this [int index] { set; get; }

This is the default property for this class.

A special index operator. This is needed to make this collection foreach compatible.

Parameters

index
Index for device.

Value

A device.

Remarks

To be added.

Remove Method

public virtual void Remove (IRemoteDevice dev)

Remove a device from the pool.

Parameters

dev
The device to remove from the pool.

Remarks

To be added.