public class AntCollection : ObservableCollection<AntDevice>,
IDisposable
Public Class AntCollection
Inherits ObservableCollection(Of AntDevice)
Implements IDisposable
public ref class AntCollection : public ObservableCollection<AntDevice^>,
IDisposable
type AntCollection =
class
inherit ObservableCollection<AntDevice>
interface IDisposable
end
AntCollection | Initializes a new instance of the AntCollection class. The ANT radio is initialized for continuous scan mode. |
Count | Gets the number of elements actually contained in the CollectionT. (Inherited from CollectionAntDevice) |
Item | Gets or sets the element at the specified index. (Inherited from CollectionAntDevice) |
Items | Gets a IListT wrapper around the CollectionT. (Inherited from CollectionAntDevice) |
Add | Adds the specified AntDevice to the end of the collection. |
BlockReentrancy | Disallows reentrant attempts to change this collection. (Inherited from ObservableCollectionAntDevice) |
CheckReentrancy | Checks for reentrant attempts to change this collection. (Inherited from ObservableCollectionAntDevice) |
Clear | Removes all elements from the CollectionT. (Inherited from CollectionAntDevice) |
ClearItems | Removes all items from the collection. (Inherited from ObservableCollectionAntDevice) |
Contains | Determines whether an element is in the CollectionT. (Inherited from CollectionAntDevice) |
CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionAntDevice) |
Dispose | Release the ANT channels. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetEnumerator | Returns an enumerator that iterates through the CollectionT. (Inherited from CollectionAntDevice) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT. (Inherited from CollectionAntDevice) |
Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionAntDevice) |
InsertItem | Inserts an item into the collection at the specified index. (Inherited from ObservableCollectionAntDevice) |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
Move | Moves the item at the specified index to a new location in the collection. (Inherited from ObservableCollectionAntDevice) |
MoveItem | Moves the item at the specified index to a new location in the collection. (Inherited from ObservableCollectionAntDevice) |
OnCollectionChanged | Raises the CollectionChanged event with the provided arguments. (Inherited from ObservableCollectionAntDevice) |
OnPropertyChanged | Raises the PropertyChanged event with the provided arguments. (Inherited from ObservableCollectionAntDevice) |
Remove | Removes the specified AntDevice from the collection. |
RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionAntDevice) |
RemoveItem | Removes the item at the specified index of the collection. (Inherited from ObservableCollectionAntDevice) |
SetItem | Replaces the element at the specified index. (Inherited from ObservableCollectionAntDevice) |
StartScanning | Initializes the ANT radio for continuous scan mode and setup ANT channels for use by this collection. |
ToString | Returns a string that represents the current object. (Inherited from Object) |
CollectionChanged | Occurs when an item is added, removed, or moved, or the entire list is refreshed. (Inherited from ObservableCollectionAntDevice) |
PropertyChanged | Occurs when a property value changes. (Inherited from ObservableCollectionAntDevice) |
CollectionLock |
The collection lock typically used by WPF applications to synchronize UI updates when devices are added or
removed from the collection. For example, in the code behind for a window that is using this collection
would include the following line in its constructor -
C#
|