Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ActivityCollection Class

 
Note: This API is now obsolete.

Models a strongly typed ICollection of type Activity.

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

System.Object
  System.Collections.Generic.List<T>
    System.Workflow.ComponentModel.ActivityCollection

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ActivityCollection : List<Activity>, IList<Activity>, 
	ICollection<Activity>, IEnumerable<Activity>, IEnumerable, IList, 
	ICollection

NameDescription
System_CAPS_pubmethodActivityCollection(Activity)

Initializes a new instance of the ActivityCollection class, initializing an owner Activity.

NameDescription
System_CAPS_pubpropertyCapacity

Gets or sets the total number of elements the internal data structure can hold without resizing.(Inherited from List<T>.)

System_CAPS_pubpropertyCount

Gets the number of members of the ICollection.

System_CAPS_pubpropertyItem[Int32]

Gets or sets the activity in the ICollection based on the index.

System_CAPS_pubpropertyItem[String]

Gets the activity in the ICollection based on the string which is a unique key.

NameDescription
System_CAPS_pubmethodAdd(Activity)

Adds the Activity to the ICollection.

System_CAPS_pubmethodAddRange(IEnumerable<T>)

Adds the elements of the specified collection to the end of the List<T>.(Inherited from List<T>.)

System_CAPS_pubmethodAsReadOnly()

Returns a read-only ReadOnlyCollection<T> wrapper for the current collection.(Inherited from List<T>.)

System_CAPS_pubmethodBinarySearch(T)

Searches the entire sorted List<T> for an element using the default comparer and returns the zero-based index of the element.(Inherited from List<T>.)

System_CAPS_pubmethodBinarySearch(T, IComparer<T>)

Searches the entire sorted List<T> for an element using the specified comparer and returns the zero-based index of the element.(Inherited from List<T>.)

System_CAPS_pubmethodBinarySearch(Int32, Int32, T, IComparer<T>)

Searches a range of elements in the sorted List<T> for an element using the specified comparer and returns the zero-based index of the element.(Inherited from List<T>.)

System_CAPS_pubmethodClear()

Removes every Activity from the ICollection.

System_CAPS_pubmethodContains(Activity)

Provides a test for membership of the Activity in the ICollection.

System_CAPS_pubmethodConvertAll<TOutput>(Converter<T, TOutput>)

Converts the elements in the current List<T> to another type, and returns a list containing the converted elements.(Inherited from List<T>.)

System_CAPS_pubmethodCopyTo(T[])

Copies the entire List<T> to a compatible one-dimensional array, starting at the beginning of the target array.(Inherited from List<T>.)

System_CAPS_pubmethodCopyTo(T[], Int32)

Copies the entire List<T> to a compatible one-dimensional array, starting at the specified index of the target array.(Inherited from List<T>.)

System_CAPS_pubmethodCopyTo(Int32, T[], Int32, Int32)

Copies a range of elements from the List<T> to a compatible one-dimensional array, starting at the specified index of the target array.(Inherited from List<T>.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodExists(Predicate<T>)

Determines whether the List<T> contains elements that match the conditions defined by the specified predicate.(Inherited from List<T>.)

System_CAPS_pubmethodFind(Predicate<T>)

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>.)

System_CAPS_pubmethodFindAll(Predicate<T>)

Retrieves all the elements that match the conditions defined by the specified predicate.(Inherited from List<T>.)

System_CAPS_pubmethodFindIndex(Int32, Int32, Predicate<T>)

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 List<T> that starts at the specified index and contains the specified number of elements.(Inherited from List<T>.)

System_CAPS_pubmethodFindIndex(Int32, Predicate<T>)

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 List<T> that extends from the specified index to the last element.(Inherited from List<T>.)

System_CAPS_pubmethodFindIndex(Predicate<T>)

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 List<T>.(Inherited from List<T>.)

System_CAPS_pubmethodFindLast(Predicate<T>)

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>.)

System_CAPS_pubmethodFindLastIndex(Int32, Int32, Predicate<T>)

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 List<T> that contains the specified number of elements and ends at the specified index.(Inherited from List<T>.)

System_CAPS_pubmethodFindLastIndex(Int32, Predicate<T>)

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 List<T> that extends from the first element to the specified index.(Inherited from List<T>.)

System_CAPS_pubmethodFindLastIndex(Predicate<T>)

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 List<T>.(Inherited from List<T>.)

System_CAPS_pubmethodForEach(Action<T>)

Performs the specified action on each element of the List<T>.(Inherited from List<T>.)

System_CAPS_pubmethodGetEnumerator()

Implements an enumeration interface to the ICollection.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetRange(Int32, Int32)

Creates a shallow copy of a range of elements in the source List<T>.(Inherited from List<T>.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIndexOf(T, Int32)

Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the List<T> that extends from the specified index to the last element.(Inherited from List<T>.)

System_CAPS_pubmethodIndexOf(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 List<T> that starts at the specified index and contains the specified number of elements.(Inherited from List<T>.)

System_CAPS_pubmethodIndexOf(Activity)

Gets the index of the Activity in the ICollection.

System_CAPS_pubmethodInsert(Int32, Activity)

Inserts the item at the index in the ICollection.

System_CAPS_pubmethodInsertRange(Int32, IEnumerable<T>)

Inserts the elements of a collection into the List<T> at the specified index.(Inherited from List<T>.)

System_CAPS_pubmethodLastIndexOf(T)

Searches for the specified object and returns the zero-based index of the last occurrence within the entire List<T>.(Inherited from List<T>.)

System_CAPS_pubmethodLastIndexOf(T, Int32)

Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the List<T> that extends from the first element to the specified index.(Inherited from List<T>.)

System_CAPS_pubmethodLastIndexOf(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 List<T> that contains the specified number of elements and ends at the specified index.(Inherited from List<T>.)

System_CAPS_pubmethodRemove(Activity)

Removes the activity specified in the call from the ICollection.

System_CAPS_pubmethodRemoveAll(Predicate<T>)

Removes all the elements that match the conditions defined by the specified predicate.(Inherited from List<T>.)

System_CAPS_pubmethodRemoveAt(Int32)

Removes the Activity in the ICollection at the specified index.

System_CAPS_pubmethodRemoveRange(Int32, Int32)

Removes a range of elements from the List<T>.(Inherited from List<T>.)

System_CAPS_pubmethodReverse()

Reverses the order of the elements in the entire List<T>.(Inherited from List<T>.)

System_CAPS_pubmethodReverse(Int32, Int32)

Reverses the order of the elements in the specified range.(Inherited from List<T>.)

System_CAPS_pubmethodSort()

Sorts the elements in the entire List<T> using the default comparer.(Inherited from List<T>.)

System_CAPS_pubmethodSort(Comparison<T>)

Sorts the elements in the entire List<T> using the specified System.Comparison<T>.(Inherited from List<T>.)

System_CAPS_pubmethodSort(IComparer<T>)

Sorts the elements in the entire List<T> using the specified comparer.(Inherited from List<T>.)

System_CAPS_pubmethodSort(Int32, Int32, IComparer<T>)

Sorts the elements in a range of elements in List<T> using the specified comparer.(Inherited from List<T>.)

System_CAPS_pubmethodToArray()

Copies the elements of the List<T> to a new array.(Inherited from List<T>.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodTrimExcess()

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>.)

System_CAPS_pubmethodTrueForAll(Predicate<T>)

Determines whether every element in the List<T> matches the conditions defined by the specified predicate.(Inherited from List<T>.)

NameDescription
System_CAPS_pubeventListChanged

Raised whenever a change is made to the contents of this ICollection.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection<Activity>.Add(Activity)

Adds an object to the IList at the end of the IList.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection<Activity>.Clear()

Clears all activities from the IList.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection<Activity>.Contains(Activity)

Gets a value that indicates whether the Object is a member of the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection<Activity>.CopyTo(Activity[], Int32)

Copies the elements of the ICollection to an Array, starting at a particular Array index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection<Activity>.Remove(Activity)

Removes the first occurrence of a specific object from the ICollection<T>.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable<Activity>.GetEnumerator()

Returns an enumerator that iterates through the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable<T>.GetEnumerator()

Returns an enumerator that iterates through a collection.(Inherited from List<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList<Activity>.IndexOf(Activity)

Determines the index of a specific item in the IList.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList<Activity>.Insert(Int32, Activity)

Inserts an Object into the IList at the zero-based index specified.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList<Activity>.RemoveAt(Int32)

Removes the IList item at the specified index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

Copies the elements of the ICollection to an Array, starting at a particular Array index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an IEnumerator that iterates through the underlying IList.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Add(Object)

Adds an object to the IList at the end of the IList.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Clear()

Removes all Activity from the ICollection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Contains(Object)

Gets a value that indicates whether the Object is a member of the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.IndexOf(Object)

Gets the zero-based index of the Object in the underlying activities collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Insert(Int32, Object)

Inserts an Object into the IList at the zero-based index specified.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Remove(Object)

Removes the first occurrence of a specific object from the IList.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection<Activity>.Count

Gets the number of elements contained in the ICollection<T>.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection<Activity>.IsReadOnly

Gets a value that indicates whether the IList is read-only.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection<T>.IsReadOnly

Gets a value indicating whether the ICollection<T> is read-only.(Inherited from List<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList<Activity>.Item[Int32]

Gets or sets the element at the specified index.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.IsSynchronized

Gets a value that indicates whether access to the ICollection<T> is synchronized, that is thread-safe.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.SyncRoot

Gets an object that can be used to synchronize access to the ICollection<T>.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.IsFixedSize

Gets a value indicating whether the IList has a fixed size.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.IsReadOnly

Gets a value indicating whether the ICollection<T> is read-only.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.Item[Int32]

Gets or sets the activity in the ICollection based on the index.

NameDescription
System_CAPS_pubmethodAggregate<Activity>(Func<Activity, Activity, Activity>)

Overloaded. Applies an accumulator function over a sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAggregate<Activity, TAccumulate>(TAccumulate, Func<TAccumulate, Activity, TAccumulate>)

Overloaded. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value.(Defined by Enumerable.)

System_CAPS_pubmethodAggregate<Activity, TAccumulate, TResult>(TAccumulate, Func<TAccumulate, Activity, TAccumulate>, Func<TAccumulate, TResult>)

Overloaded. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value.(Defined by Enumerable.)

System_CAPS_pubmethodAll<Activity>(Func<Activity, Boolean>)

Determines whether all elements of a sequence satisfy a condition.(Defined by Enumerable.)

System_CAPS_pubmethodAny<Activity>()

Overloaded. Determines whether a sequence contains any elements.(Defined by Enumerable.)

System_CAPS_pubmethodAny<Activity>(Func<Activity, Boolean>)

Overloaded. Determines whether any element of a sequence satisfies a condition.(Defined by Enumerable.)

System_CAPS_pubmethodAsEnumerable<Activity>()

Returns the input typed as IEnumerable<T>.(Defined by Enumerable.)

System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsParallel<Activity>()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodAsQueryable<Activity>()

Overloaded. Converts a generic IEnumerable<T> to a generic IQueryable<T>.(Defined by Queryable.)

System_CAPS_pubmethodAverage<Activity>(Func<Activity, Decimal>)

Overloaded. Computes the average of a sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<Activity>(Func<Activity, Double>)

Overloaded. Computes the average of a sequence of Double values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<Activity>(Func<Activity, Int32>)

Overloaded. Computes the average of a sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<Activity>(Func<Activity, Int64>)

Overloaded. Computes the average of a sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<Activity>(Func<Activity, Nullable<Decimal>>)

Overloaded. Computes the average of a sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<Activity>(Func<Activity, Nullable<Double>>)

Overloaded. Computes the average of a sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<Activity>(Func<Activity, Nullable<Int32>>)

Overloaded. Computes the average of a sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<Activity>(Func<Activity, Nullable<Int64>>)

Overloaded. Computes the average of a sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<Activity>(Func<Activity, Nullable<Single>>)

Overloaded. Computes the average of a sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<Activity>(Func<Activity, Single>)

Overloaded. Computes the average of a sequence of Single values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodConcat<Activity>(IEnumerable<Activity>)

Concatenates two sequences.(Defined by Enumerable.)

System_CAPS_pubmethodContains<Activity>(Activity)

Overloaded. Determines whether a sequence contains a specified element by using the default equality comparer.(Defined by Enumerable.)

System_CAPS_pubmethodContains<Activity>(Activity, IEqualityComparer<Activity>)

Overloaded. Determines whether a sequence contains a specified element by using a specified IEqualityComparer<T>.(Defined by Enumerable.)

System_CAPS_pubmethodCount<Activity>()

Overloaded. Returns the number of elements in a sequence.(Defined by Enumerable.)

System_CAPS_pubmethodCount<Activity>(Func<Activity, Boolean>)

Overloaded. Returns a number that represents how many elements in the specified sequence satisfy a condition.(Defined by Enumerable.)

System_CAPS_pubmethodDefaultIfEmpty<Activity>()

Overloaded. Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty.(Defined by Enumerable.)

System_CAPS_pubmethodDefaultIfEmpty<Activity>(Activity)

Overloaded. Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty.(Defined by Enumerable.)

System_CAPS_pubmethodDistinct<Activity>()

Overloaded. Returns distinct elements from a sequence by using the default equality comparer to compare values.(Defined by Enumerable.)

System_CAPS_pubmethodDistinct<Activity>(IEqualityComparer<Activity>)

Overloaded. Returns distinct elements from a sequence by using a specified IEqualityComparer<T> to compare values.(Defined by Enumerable.)

System_CAPS_pubmethodElementAt<Activity>(Int32)

Returns the element at a specified index in a sequence.(Defined by Enumerable.)

System_CAPS_pubmethodElementAtOrDefault<Activity>(Int32)

Returns the element at a specified index in a sequence or a default value if the index is out of range.(Defined by Enumerable.)

System_CAPS_pubmethodExcept<Activity>(IEnumerable<Activity>)

Overloaded. Produces the set difference of two sequences by using the default equality comparer to compare values.(Defined by Enumerable.)

System_CAPS_pubmethodExcept<Activity>(IEnumerable<Activity>, IEqualityComparer<Activity>)

Overloaded. Produces the set difference of two sequences by using the specified IEqualityComparer<T> to compare values.(Defined by Enumerable.)

System_CAPS_pubmethodFirst<Activity>()

Overloaded. Returns the first element of a sequence.(Defined by Enumerable.)

System_CAPS_pubmethodFirst<Activity>(Func<Activity, Boolean>)

Overloaded. Returns the first element in a sequence that satisfies a specified condition.(Defined by Enumerable.)

System_CAPS_pubmethodFirstOrDefault<Activity>()

Overloaded. Returns the first element of a sequence, or a default value if the sequence contains no elements.(Defined by Enumerable.)

System_CAPS_pubmethodFirstOrDefault<Activity>(Func<Activity, Boolean>)

Overloaded. Returns the first element of the sequence that satisfies a condition or a default value if no such element is found.(Defined by Enumerable.)

System_CAPS_pubmethodGroupBy<Activity, TKey>(Func<Activity, TKey>)

Overloaded. Groups the elements of a sequence according to a specified key selector function.(Defined by Enumerable.)

System_CAPS_pubmethodGroupBy<Activity, TKey>(Func<Activity, TKey>, IEqualityComparer<TKey>)

Overloaded. Groups the elements of a sequence according to a specified key selector function and compares the keys by using a specified comparer.(Defined by Enumerable.)

System_CAPS_pubmethodGroupBy<Activity, TKey, TElement>(Func<Activity, TKey>, Func<Activity, TElement>)

Overloaded. Groups the elements of a sequence according to a specified key selector function and projects the elements for each group by using a specified function.(Defined by Enumerable.)

System_CAPS_pubmethodGroupBy<Activity, TKey, TElement>(Func<Activity, TKey>, Func<Activity, TElement>, IEqualityComparer<TKey>)

Overloaded. Groups the elements of a sequence according to a key selector function. The keys are compared by using a comparer and each group's elements are projected by using a specified function.(Defined by Enumerable.)

System_CAPS_pubmethodGroupBy<Activity, TKey, TResult>(Func<Activity, TKey>, Func<TKey, IEnumerable<Activity>, TResult>)

Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key.(Defined by Enumerable.)

System_CAPS_pubmethodGroupBy<Activity, TKey, TResult>(Func<Activity, TKey>, Func<TKey, IEnumerable<Activity>, TResult>, IEqualityComparer<TKey>)

Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The keys are compared by using a specified comparer.(Defined by Enumerable.)

System_CAPS_pubmethodGroupBy<Activity, TKey, TElement, TResult>(Func<Activity, TKey>, Func<Activity, TElement>, Func<TKey, IEnumerable<TElement>, TResult>)

Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The elements of each group are projected by using a specified function.(Defined by Enumerable.)

System_CAPS_pubmethodGroupBy<Activity, TKey, TElement, TResult>(Func<Activity, TKey>, Func<Activity, TElement>, Func<TKey, IEnumerable<TElement>, TResult>, IEqualityComparer<TKey>)

Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. Key values are compared by using a specified comparer, and the elements of each group are projected by using a specified function.(Defined by Enumerable.)

System_CAPS_pubmethodGroupJoin<Activity, TInner, TKey, TResult>(IEnumerable<TInner>, Func<Activity, TKey>, Func<TInner, TKey>, Func<Activity, IEnumerable<TInner>, TResult>)

Overloaded. Correlates the elements of two sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys.(Defined by Enumerable.)

System_CAPS_pubmethodGroupJoin<Activity, TInner, TKey, TResult>(IEnumerable<TInner>, Func<Activity, TKey>, Func<TInner, TKey>, Func<Activity, IEnumerable<TInner>, TResult>, IEqualityComparer<TKey>)

Overloaded. Correlates the elements of two sequences based on key equality and groups the results. A specified IEqualityComparer<T> is used to compare keys.(Defined by Enumerable.)

System_CAPS_pubmethodIntersect<Activity>(IEnumerable<Activity>)

Overloaded. Produces the set intersection of two sequences by using the default equality comparer to compare values.(Defined by Enumerable.)

System_CAPS_pubmethodIntersect<Activity>(IEnumerable<Activity>, IEqualityComparer<Activity>)

Overloaded. Produces the set intersection of two sequences by using the specified IEqualityComparer<T> to compare values.(Defined by Enumerable.)

System_CAPS_pubmethodJoin<Activity, TInner, TKey, TResult>(IEnumerable<TInner>, Func<Activity, TKey>, Func<TInner, TKey>, Func<Activity, TInner, TResult>)

Overloaded. Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys.(Defined by Enumerable.)

System_CAPS_pubmethodJoin<Activity, TInner, TKey, TResult>(IEnumerable<TInner>, Func<Activity, TKey>, Func<TInner, TKey>, Func<Activity, TInner, TResult>, IEqualityComparer<TKey>)

Overloaded. Correlates the elements of two sequences based on matching keys. A specified IEqualityComparer<T> is used to compare keys.(Defined by Enumerable.)

System_CAPS_pubmethodLast<Activity>()

Overloaded. Returns the last element of a sequence.(Defined by Enumerable.)

System_CAPS_pubmethodLast<Activity>(Func<Activity, Boolean>)

Overloaded. Returns the last element of a sequence that satisfies a specified condition.(Defined by Enumerable.)

System_CAPS_pubmethodLastOrDefault<Activity>()

Overloaded. Returns the last element of a sequence, or a default value if the sequence contains no elements.(Defined by Enumerable.)

System_CAPS_pubmethodLastOrDefault<Activity>(Func<Activity, Boolean>)

Overloaded. Returns the last element of a sequence that satisfies a condition or a default value if no such element is found.(Defined by Enumerable.)

System_CAPS_pubmethodLongCount<Activity>()

Overloaded. Returns an Int64 that represents the total number of elements in a sequence.(Defined by Enumerable.)

System_CAPS_pubmethodLongCount<Activity>(Func<Activity, Boolean>)

Overloaded. Returns an Int64 that represents how many elements in a sequence satisfy a condition.(Defined by Enumerable.)

System_CAPS_pubmethodMax<Activity>()

Overloaded. Returns the maximum value in a generic sequence.(Defined by Enumerable.)

System_CAPS_pubmethodMax<Activity>(Func<Activity, Decimal>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Decimal value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<Activity>(Func<Activity, Double>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Double value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<Activity>(Func<Activity, Int32>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Int32 value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<Activity>(Func<Activity, Int64>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Int64 value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<Activity>(Func<Activity, Nullable<Decimal>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Decimal value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<Activity>(Func<Activity, Nullable<Double>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Double value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<Activity>(Func<Activity, Nullable<Int32>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Int32 value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<Activity>(Func<Activity, Nullable<Int64>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Int64 value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<Activity>(Func<Activity, Nullable<Single>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Single value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<Activity>(Func<Activity, Single>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Single value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<Activity, TResult>(Func<Activity, TResult>)

Overloaded. Invokes a transform function on each element of a generic sequence and returns the maximum resulting value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<Activity>()

Overloaded. Returns the minimum value in a generic sequence.(Defined by Enumerable.)

System_CAPS_pubmethodMin<Activity>(Func<Activity, Decimal>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Decimal value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<Activity>(Func<Activity, Double>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Double value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<Activity>(Func<Activity, Int32>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Int32 value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<Activity>(Func<Activity, Int64>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Int64 value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<Activity>(Func<Activity, Nullable<Decimal>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Decimal value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<Activity>(Func<Activity, Nullable<Double>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Double value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<Activity>(Func<Activity, Nullable<Int32>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Int32 value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<Activity>(Func<Activity, Nullable<Int64>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Int64 value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<Activity>(Func<Activity, Nullable<Single>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Single value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<Activity>(Func<Activity, Single>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Single value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<Activity, TResult>(Func<Activity, TResult>)

Overloaded. Invokes a transform function on each element of a generic sequence and returns the minimum resulting value.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOrderBy<Activity, TKey>(Func<Activity, TKey>)

Overloaded. Sorts the elements of a sequence in ascending order according to a key.(Defined by Enumerable.)

System_CAPS_pubmethodOrderBy<Activity, TKey>(Func<Activity, TKey>, IComparer<TKey>)

Overloaded. Sorts the elements of a sequence in ascending order by using a specified comparer.(Defined by Enumerable.)

System_CAPS_pubmethodOrderByDescending<Activity, TKey>(Func<Activity, TKey>)

Overloaded. Sorts the elements of a sequence in descending order according to a key.(Defined by Enumerable.)

System_CAPS_pubmethodOrderByDescending<Activity, TKey>(Func<Activity, TKey>, IComparer<TKey>)

Overloaded. Sorts the elements of a sequence in descending order by using a specified comparer.(Defined by Enumerable.)

System_CAPS_pubmethodReverse<Activity>()

Inverts the order of the elements in a sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSelect<Activity, TResult>(Func<Activity, TResult>)

Overloaded. Projects each element of a sequence into a new form.(Defined by Enumerable.)

System_CAPS_pubmethodSelect<Activity, TResult>(Func<Activity, Int32, TResult>)

Overloaded. Projects each element of a sequence into a new form by incorporating the element's index.(Defined by Enumerable.)

System_CAPS_pubmethodSelectMany<Activity, TResult>(Func<Activity, IEnumerable<TResult>>)

Overloaded. Projects each element of a sequence to an IEnumerable<T> and flattens the resulting sequences into one sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSelectMany<Activity, TResult>(Func<Activity, Int32, IEnumerable<TResult>>)

Overloaded. Projects each element of a sequence to an IEnumerable<T>, and flattens the resulting sequences into one sequence. The index of each source element is used in the projected form of that element.(Defined by Enumerable.)

System_CAPS_pubmethodSelectMany<Activity, TCollection, TResult>(Func<Activity, IEnumerable<TCollection>>, Func<Activity, TCollection, TResult>)

Overloaded. Projects each element of a sequence to an IEnumerable<T>, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein.(Defined by Enumerable.)

System_CAPS_pubmethodSelectMany<Activity, TCollection, TResult>(Func<Activity, Int32, IEnumerable<TCollection>>, Func<Activity, TCollection, TResult>)

Overloaded. Projects each element of a sequence to an IEnumerable<T>, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. The index of each source element is used in the intermediate projected form of that element.(Defined by Enumerable.)

System_CAPS_pubmethodSequenceEqual<Activity>(IEnumerable<Activity>)

Overloaded. Determines whether two sequences are equal by comparing the elements by using the default equality comparer for their type.(Defined by Enumerable.)

System_CAPS_pubmethodSequenceEqual<Activity>(IEnumerable<Activity>, IEqualityComparer<Activity>)

Overloaded. Determines whether two sequences are equal by comparing their elements by using a specified IEqualityComparer<T>.(Defined by Enumerable.)

System_CAPS_pubmethodSingle<Activity>()

Overloaded. Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSingle<Activity>(Func<Activity, Boolean>)

Overloaded. Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists.(Defined by Enumerable.)

System_CAPS_pubmethodSingleOrDefault<Activity>()

Overloaded. Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSingleOrDefault<Activity>(Func<Activity, Boolean>)

Overloaded. Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition.(Defined by Enumerable.)

System_CAPS_pubmethodSkip<Activity>(Int32)

Bypasses a specified number of elements in a sequence and then returns the remaining elements.(Defined by Enumerable.)

System_CAPS_pubmethodSkipWhile<Activity>(Func<Activity, Boolean>)

Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements.(Defined by Enumerable.)

System_CAPS_pubmethodSkipWhile<Activity>(Func<Activity, Int32, Boolean>)

Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. The element's index is used in the logic of the predicate function.(Defined by Enumerable.)

System_CAPS_pubmethodSum<Activity>(Func<Activity, Decimal>)

Overloaded. Computes the sum of the sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<Activity>(Func<Activity, Double>)

Overloaded. Computes the sum of the sequence of Double values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<Activity>(Func<Activity, Int32>)

Overloaded. Computes the sum of the sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<Activity>(Func<Activity, Int64>)

Overloaded. Computes the sum of the sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<Activity>(Func<Activity, Nullable<Decimal>>)

Overloaded. Computes the sum of the sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<Activity>(Func<Activity, Nullable<Double>>)

Overloaded. Computes the sum of the sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<Activity>(Func<Activity, Nullable<Int32>>)

Overloaded. Computes the sum of the sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<Activity>(Func<Activity, Nullable<Int64>>)

Overloaded. Computes the sum of the sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<Activity>(Func<Activity, Nullable<Single>>)

Overloaded. Computes the sum of the sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<Activity>(Func<Activity, Single>)

Overloaded. Computes the sum of the sequence of Single values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodTake<Activity>(Int32)

Returns a specified number of contiguous elements from the start of a sequence.(Defined by Enumerable.)

System_CAPS_pubmethodTakeWhile<Activity>(Func<Activity, Boolean>)

Overloaded. Returns elements from a sequence as long as a specified condition is true.(Defined by Enumerable.)

System_CAPS_pubmethodTakeWhile<Activity>(Func<Activity, Int32, Boolean>)

Overloaded. Returns elements from a sequence as long as a specified condition is true. The element's index is used in the logic of the predicate function.(Defined by Enumerable.)

System_CAPS_pubmethodToArray<Activity>()

Creates an array from a IEnumerable<T>.(Defined by Enumerable.)

System_CAPS_pubmethodToDictionary<Activity, TKey>(Func<Activity, TKey>)

Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function.(Defined by Enumerable.)

System_CAPS_pubmethodToDictionary<Activity, TKey>(Func<Activity, TKey>, IEqualityComparer<TKey>)

Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function and key comparer.(Defined by Enumerable.)

System_CAPS_pubmethodToDictionary<Activity, TKey, TElement>(Func<Activity, TKey>, Func<Activity, TElement>)

Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to specified key selector and element selector functions.(Defined by Enumerable.)

System_CAPS_pubmethodToDictionary<Activity, TKey, TElement>(Func<Activity, TKey>, Func<Activity, TElement>, IEqualityComparer<TKey>)

Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function, a comparer, and an element selector function.(Defined by Enumerable.)

System_CAPS_pubmethodToList<Activity>()

Creates a List<T> from an IEnumerable<T>.(Defined by Enumerable.)

System_CAPS_pubmethodToLookup<Activity, TKey>(Func<Activity, TKey>)

Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function.(Defined by Enumerable.)

System_CAPS_pubmethodToLookup<Activity, TKey>(Func<Activity, TKey>, IEqualityComparer<TKey>)

Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function and key comparer.(Defined by Enumerable.)

System_CAPS_pubmethodToLookup<Activity, TKey, TElement>(Func<Activity, TKey>, Func<Activity, TElement>)

Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to specified key selector and element selector functions.(Defined by Enumerable.)

System_CAPS_pubmethodToLookup<Activity, TKey, TElement>(Func<Activity, TKey>, Func<Activity, TElement>, IEqualityComparer<TKey>)

Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function, a comparer and an element selector function.(Defined by Enumerable.)

System_CAPS_pubmethodUnion<Activity>(IEnumerable<Activity>)

Overloaded. Produces the set union of two sequences by using the default equality comparer.(Defined by Enumerable.)

System_CAPS_pubmethodUnion<Activity>(IEnumerable<Activity>, IEqualityComparer<Activity>)

Overloaded. Produces the set union of two sequences by using a specified IEqualityComparer<T>.(Defined by Enumerable.)

System_CAPS_pubmethodWhere<Activity>(Func<Activity, Boolean>)

Overloaded. Filters a sequence of values based on a predicate.(Defined by Enumerable.)

System_CAPS_pubmethodWhere<Activity>(Func<Activity, Int32, Boolean>)

Overloaded. Filters a sequence of values based on a predicate. Each element's index is used in the logic of the predicate function.(Defined by Enumerable.)

System_CAPS_pubmethodZip<Activity, TSecond, TResult>(IEnumerable<TSecond>, Func<Activity, TSecond, TResult>)

Applies a specified function to the corresponding elements of two sequences, producing a sequence of the results.(Defined by Enumerable.)

System_CAPS_noteNote

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

This class is used to represent the list of child activities for a CompositeActivity.

System_CAPS_noteNote

Only call methods derived from IList<T> and not List<T>, such as using Add to add activities instead of AddRange. Calling methods derived from List<T> will have unexpected consequences.

The following example shows access of the ActivityCollection which is the member of a composite activity class containing all child activities. This code example is part of the Using Throw SDK Sample and is from the ThrowWorkflow.cs file. For more information, see Using the ThrowActivity Activity.

this.CanModifyActivities = true;
System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
this.throwActivity1 = new System.Workflow.ComponentModel.ThrowActivity();
activitybind1.Name = "ThrowWorkflow";
activitybind1.Path = "ThrownException";
// 
// throwActivity1
// 
this.throwActivity1.Name = "throwActivity1";
this.throwActivity1.SetBinding(System.Workflow.ComponentModel.ThrowActivity.FaultProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
// 
// ThrowWorkflow
// 
this.Activities.Add(this.throwActivity1);
this.Name = "ThrowWorkflow";
this.CanModifyActivities = false;

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft