This documentation is archived and is not being maintained.

ActivityCollection Members

Models a strongly typed ICollection of type Activity.

The ActivityCollection type exposes the following members.

  NameDescription
Public method ActivityCollection Initializes a new instance of the ActivityCollection class, initializing an owner Activity.
Top

  NameDescription
Public method Add Adds the Activity to the ICollection.
Public method AddRange Adds the elements of the specified collection to the end of the List<T>. (Inherited from List<T>.)
Public method AsReadOnly Returns a read-only IList<T> wrapper for the current collection. (Inherited from List<T>.)
Public method BinarySearch Overloaded. Uses a binary search algorithm to locate a specific element in the sorted List<T> or a portion of it.
Public method Clear Removes every Activity from the ICollection.
Public method Contains Provides a test for membership of the Activity in the ICollection.
Public method ConvertAll<TOutput> Converts the elements in the current List<T> to another type, and returns a list containing the converted elements. (Inherited from List<T>.)
Public method CopyTo Overloaded. Copies the List<T> or a portion of it to an array.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Exists Determines whether the List<T> contains elements that match the conditions defined by the specified predicate. (Inherited from List<T>.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Find Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire List<T>. (Inherited from List<T>.)
Public method FindAll Retrieves all the elements that match the conditions defined by the specified predicate. (Inherited from List<T>.)
Public method FindIndex Overloaded. Searches for an element that matches the conditions defined by a specified predicate, and returns the zero-based index of the first occurrence within the List<T> or a portion of it.
Public method FindLast Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire List<T>. (Inherited from List<T>.)
Public method FindLastIndex Overloaded. Searches for an element that matches the conditions defined by a specified predicate, and returns the zero-based index of the last occurrence within the List<T> or a portion of it.
Public method ForEach Performs the specified action on each element of the List<T>. (Inherited from List<T>.)
Public method GetEnumerator Implements an enumeration interface to the ICollection.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetRange Creates a shallow copy of a range of elements in the source List<T>. (Inherited from List<T>.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method IndexOf Overloaded. Gets the index of the Activity in the ICollection.
Public method Insert Inserts the item at the index in the ICollection.
Public method InsertRange Inserts the elements of a collection into the List<T> at the specified index. (Inherited from List<T>.)
Public method LastIndexOf Overloaded. Returns the zero-based index of the last occurrence of a value in the List<T> or in a portion of it.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Removes the activity specified in the call from the ICollection.
Public method RemoveAll Removes all the elements that match the conditions defined by the specified predicate. (Inherited from List<T>.)
Public method RemoveAt Removes the Activity in the ICollection at the specified index.
Public method RemoveRange Removes a range of elements from the List<T>. (Inherited from List<T>.)
Public method Reverse Overloaded. Reverses the order of the elements in the List<T> or a portion of it.
Public method Sort Overloaded. Sorts the elements in the List<T> or a portion of it.
Public method ToArray Copies the elements of the List<T> to a new array. (Inherited from List<T>.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TrimExcess Sets the capacity to the actual number of elements in the List<T>, if that number is less than a threshold value. (Inherited from List<T>.)
Public method TrueForAll Determines whether every element in the List<T> matches the conditions defined by the specified predicate. (Inherited from List<T>.)
Top

  NameDescription
Public Extension Method Aggregate Applies an accumulator function over a sequence. (Defined by Enumerable.)
Public Extension Method All Determines whether all elements of a sequence satisfy a condition. (Defined by Enumerable.)
Public Extension Method Any Overloaded. Determines whether any element of a sequence exists or satisfies a condition.
Public Extension Method AsEnumerable Returns the input typed as IEnumerable<T>. (Defined by Enumerable.)
Public Extension Method AsQueryable Overloaded. Converts an IEnumerable or generic IEnumerable<T> to an IQueryable or generic IQueryable<T>.
Public Extension Method Average Overloaded. Computes the average of a sequence of numeric values.
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method Concat Concatenates two sequences. (Defined by Enumerable.)
Public Extension Method Contains Overloaded. Determines whether a sequence contains a specified element.
Public Extension Method Count Overloaded. Returns the number of elements in a sequence.
Public Extension Method DefaultIfEmpty Overloaded. Returns the elements of an IEnumerable<T>, or a default valued singleton collection if the sequence is empty.
Public Extension Method Distinct Overloaded. Returns distinct elements from a sequence.
Public Extension Method ElementAt Returns the element at a specified index in a sequence. (Defined by Enumerable.)
Public Extension Method ElementAtOrDefault Returns the element at a specified index in a sequence or a default value if the index is out of range. (Defined by Enumerable.)
Public Extension Method Except Overloaded. Produces the set difference of two sequences.
Public Extension Method First Overloaded. Returns the first element of a sequence.
Public Extension Method FirstOrDefault Overloaded. Returns the first element of a sequence, or a default value if no element is found.
Public Extension Method Intersect Overloaded. Produces the set intersection of two sequences.
Public Extension Method Last Overloaded. Returns the last element of a sequence.
Public Extension Method LastOrDefault Overloaded. Returns the last element of a sequence, or a default value if no element is found.
Public Extension Method LongCount Overloaded. Returns an Int64 that represents the number of elements in a sequence.
Public Extension Method Max Overloaded. Returns the maximum value in a sequence of values.
Public Extension Method Min Overloaded. Returns the minimum value in a sequence of values.
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Public Extension Method Reverse Inverts the order of the elements in a sequence. (Defined by Enumerable.)
Public Extension Method SequenceEqual Overloaded. Determines whether two sequences are equal according to an equality comparer.
Public Extension Method Single Overloaded. Returns a single, specific element of a sequence of values.
Public Extension Method SingleOrDefault Overloaded. Returns a single, specific element of a sequence of values, or a default value if no such element is found.
Public Extension Method Skip Bypasses a specified number of elements in a sequence and then returns the remaining elements. (Defined by Enumerable.)
Public Extension Method SkipWhile Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements.
Public Extension Method Sum Overloaded. Computes the sum of a sequence of numeric values.
Public Extension Method Take Returns a specified number of contiguous elements from the start of a sequence. (Defined by Enumerable.)
Public Extension Method TakeWhile Overloaded. Returns elements from a sequence as long as a specified condition is true, and then skips the remaining elements.
Public Extension Method ToArray Creates an array from a IEnumerable<T>. (Defined by Enumerable.)
Public Extension Method ToList Creates a List<T> from an IEnumerable<T>. (Defined by Enumerable.)
Public Extension Method Union Overloaded. Produces the set union of two sequences.
Public Extension Method Where Overloaded. Filters a sequence of values based on a predicate.
Top

  NameDescription
Public property Capacity Gets or sets the total number of elements the internal data structure can hold without resizing. (Inherited from List<T>.)
Public property Count Gets the number of members of the ICollection.
Public property Item Overloaded. Gets an item Activity in the ICollection by name or index.
Top

  NameDescription
Public event ListChanged Raised whenever a change is made to the contents of this ICollection.
Top

  NameDescription
Explicit interface implemetation Private method ICollection<Activity>.Add Adds an object to the IList at the end of the IList.
Explicit interface implemetation Private method IList.Add
Explicit interface implemetation Private method ICollection<Activity>.Clear Clears all activities from the IList.
Explicit interface implemetation Private method IList.Clear
Explicit interface implemetation Private method ICollection<Activity>.Contains Gets a value that indicates whether the Object is a member of the collection.
Explicit interface implemetation Private method IList.Contains
Explicit interface implemetation Private method ICollection<Activity>.CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index.
Explicit interface implemetation Private method ICollection.CopyTo
Explicit interface implemetation Private property ICollection<Activity>.Count Gets the number of elements contained in the ICollection<T>.
Public method GetEnumerator Overloaded.
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an IEnumerator that iterates through the underlying IList.
Explicit interface implemetation Private method IList<Activity>.IndexOf Determines the index of a specific item in the IList.
Explicit interface implemetation Private method IList.IndexOf Gets the zero-based index of the Object in the underlying activities collection.
Explicit interface implemetation Private method IList<Activity>.Insert Inserts an Object into the IList at the zero-based index specified.
Explicit interface implemetation Private method IList.Insert
Explicit interface implemetation Private property IList.IsFixedSize Gets a value indicating whether the IList has a fixed size.
Public property IsReadOnly Overloaded.
Explicit interface implemetation Private property IList.IsReadOnly
Explicit interface implemetation Private property ICollection.IsSynchronized Gets a value that indicates whether access to the ICollection<T> is synchronized, that is thread-safe.
Explicit interface implemetation Private property IList<Activity>.Item Gets or sets the element at the specified index.
Explicit interface implemetation Private property IList.Item
Explicit interface implemetation Private method ICollection<Activity>.Remove Removes the first occurrence of a specific object from the ICollection<T>.
Explicit interface implemetation Private method IList.Remove Removes the first occurrence of a specific object from the IList.
Explicit interface implemetation Private method IList<Activity>.RemoveAt Removes the IList item at the specified index.
Explicit interface implemetation Private property ICollection.SyncRoot Gets an object that can be used to synchronize access to the ICollection<T>.
Top
Show: