Click or drag to resize

PinList Class

Custom list class with some extra ease of use functions added.
Inheritance Hierarchy
SystemObject
  System.Collections.GenericListPinPWMInfo
    FX3ApiPinList

Namespace:  FX3Api
Assembly:  FX3Api (in FX3Api.dll) Version: 2.9.4.0 (2.9.4)
Syntax
public class PinList : List<PinPWMInfo>

The PinList type exposes the following members.

Constructors
  NameDescription
Public methodPinList
Initializes a new instance of the PinList class
Top
Properties
  NameDescription
Public propertyCapacity
Gets or sets the total number of elements the internal data structure can hold without resizing.
(Inherited from ListPinPWMInfo.)
Public propertyCount (Inherited from ListPinPWMInfo.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from ListPinPWMInfo.)
Top
Methods
  NameDescription
Public methodAdd (Inherited from ListPinPWMInfo.)
Public methodAddRange (Inherited from ListPinPWMInfo.)
Public methodAddReplace
Adds a pin to the list. Replaces any existing pin with the same FX3 GPIO number.
Public methodAsReadOnly (Inherited from ListPinPWMInfo.)
Public methodBinarySearch(T)
Searches the entire sorted ListT for an element using the default comparer and returns the zero-based index of the element.
(Inherited from ListPinPWMInfo.)
Public methodBinarySearch(T, IComparerT)
Searches the entire sorted ListT for an element using the specified comparer and returns the zero-based index of the element.
(Inherited from ListPinPWMInfo.)
Public methodBinarySearch(Int32, Int32, T, IComparerT)
Searches a range of elements in the sorted ListT for an element using the specified comparer and returns the zero-based index of the element.
(Inherited from ListPinPWMInfo.)
Public methodClear (Inherited from ListPinPWMInfo.)
Public methodContains(IPinObject)
Overload of contains which checks if the list contains the given Pin
Public methodContains(UInt32)
Overload of contains which checks if the list contains the given Pin
Public methodContains(T) (Inherited from ListPinPWMInfo.)
Public methodConvertAllTOutput (Inherited from ListPinPWMInfo.)
Public methodCopyTo(T) (Inherited from ListPinPWMInfo.)
Public methodCopyTo(T, Int32) (Inherited from ListPinPWMInfo.)
Public methodCopyTo(Int32, T, Int32, Int32)
Copies a range of elements from the ListT to a compatible one-dimensional array, starting at the specified index of the target array.
(Inherited from ListPinPWMInfo.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExists (Inherited from ListPinPWMInfo.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFind
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire ListT.
(Inherited from ListPinPWMInfo.)
Public methodFindAll
Retrieves all the elements that match the conditions defined by the specified predicate.
(Inherited from ListPinPWMInfo.)
Public methodFindIndex(PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire ListT.
(Inherited from ListPinPWMInfo.)
Public methodFindIndex(Int32, PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the ListT that extends from the specified index to the last element.
(Inherited from ListPinPWMInfo.)
Public methodFindIndex(Int32, Int32, PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the ListT that starts at the specified index and contains the specified number of elements.
(Inherited from ListPinPWMInfo.)
Public methodFindLast
Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire ListT.
(Inherited from ListPinPWMInfo.)
Public methodFindLastIndex(PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire ListT.
(Inherited from ListPinPWMInfo.)
Public methodFindLastIndex(Int32, PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the ListT that extends from the first element to the specified index.
(Inherited from ListPinPWMInfo.)
Public methodFindLastIndex(Int32, Int32, PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the ListT that contains the specified number of elements and ends at the specified index.
(Inherited from ListPinPWMInfo.)
Public methodForEach (Inherited from ListPinPWMInfo.)
Public methodGetEnumerator (Inherited from ListPinPWMInfo.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPinPWMInfo(IPinObject)
Gets the info for the selected pin
Public methodGetPinPWMInfo(UInt32)
Gets the info for the selected pin
Public methodGetRange (Inherited from ListPinPWMInfo.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf(T) (Inherited from ListPinPWMInfo.)
Public methodIndexOf(T, Int32)
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the ListT that extends from the specified index to the last element.
(Inherited from ListPinPWMInfo.)
Public methodIndexOf(T, Int32, Int32)
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the ListT that starts at the specified index and contains the specified number of elements.
(Inherited from ListPinPWMInfo.)
Public methodInsert (Inherited from ListPinPWMInfo.)
Public methodInsertRange (Inherited from ListPinPWMInfo.)
Public methodLastIndexOf(T) (Inherited from ListPinPWMInfo.)
Public methodLastIndexOf(T, Int32)
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the ListT that extends from the first element to the specified index.
(Inherited from ListPinPWMInfo.)
Public methodLastIndexOf(T, Int32, Int32)
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the ListT that contains the specified number of elements and ends at the specified index.
(Inherited from ListPinPWMInfo.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove (Inherited from ListPinPWMInfo.)
Public methodRemoveAll
Removes all the elements that match the conditions defined by the specified predicate.
(Inherited from ListPinPWMInfo.)
Public methodRemoveAt (Inherited from ListPinPWMInfo.)
Public methodRemoveRange (Inherited from ListPinPWMInfo.)
Public methodReverse (Inherited from ListPinPWMInfo.)
Public methodReverse(Int32, Int32)
Reverses the order of the elements in the specified range.
(Inherited from ListPinPWMInfo.)
Public methodSort (Inherited from ListPinPWMInfo.)
Public methodSort(IComparerT) (Inherited from ListPinPWMInfo.)
Public methodSort(ComparisonT) (Inherited from ListPinPWMInfo.)
Public methodSort(Int32, Int32, IComparerT) (Inherited from ListPinPWMInfo.)
Public methodToArray (Inherited from ListPinPWMInfo.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTrimExcess (Inherited from ListPinPWMInfo.)
Public methodTrueForAll (Inherited from ListPinPWMInfo.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIListAdd
Adds an item to the IList.
(Inherited from ListPinPWMInfo.)
Explicit interface implementationPrivate methodIListContains
Determines whether the IList contains a specific value.
(Inherited from ListPinPWMInfo.)
Explicit interface implementationPrivate methodICollectionCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from ListPinPWMInfo.)
Explicit interface implementationPrivate methodIEnumerableTGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from ListPinPWMInfo.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from ListPinPWMInfo.)
Explicit interface implementationPrivate methodIListIndexOf
Determines the index of a specific item in the IList.
(Inherited from ListPinPWMInfo.)
Explicit interface implementationPrivate methodIListInsert
Inserts an item to the IList at the specified index.
(Inherited from ListPinPWMInfo.)
Explicit interface implementationPrivate propertyIListIsFixedSize
Gets a value indicating whether the IList has a fixed size.
(Inherited from ListPinPWMInfo.)
Explicit interface implementationPrivate propertyICollectionTIsReadOnly (Inherited from ListPinPWMInfo.)
Explicit interface implementationPrivate propertyIListIsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from ListPinPWMInfo.)
Explicit interface implementationPrivate propertyICollectionIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from ListPinPWMInfo.)
Explicit interface implementationPrivate propertyIListItem
Gets or sets the element at the specified index.
(Inherited from ListPinPWMInfo.)
Explicit interface implementationPrivate methodIListRemove
Removes the first occurrence of a specific object from the IList.
(Inherited from ListPinPWMInfo.)
Explicit interface implementationPrivate propertyICollectionSyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from ListPinPWMInfo.)
Top
See Also