TestActionCollection Class

 

Provides an ordered list of test actions, in which actions are stored in the order that they are to be executed.

Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Inheritance Hierarchy

System.Object
  System.Collections.ObjectModel.Collection<T>
    System.Collections.ObjectModel.ObservableCollection<T>
      Microsoft.TeamFoundation.TestManagement.Client.TestActionCollection

Syntax

public class TestActionCollection : ObservableCollection<ITestAction>
public ref class TestActionCollection : ObservableCollection<ITestAction^>
type TestActionCollection = 
    class
        inherit ObservableCollection<ITestAction>
    end
Public Class TestActionCollection
    Inherits ObservableCollection(Of ITestAction)

Properties

Name Description
System_CAPS_pubproperty Count

(Inherited from Collection<T>.)

System_CAPS_pubproperty Item[Int32]

(Inherited from Collection<T>.)

System_CAPS_protproperty Items

(Inherited from Collection<T>.)

Methods

Name Description
System_CAPS_pubmethod Add(T)

(Inherited from Collection<T>.)

System_CAPS_protmethod BlockReentrancy()

(Inherited from ObservableCollection<T>.)

System_CAPS_protmethod CheckReentrancy()

(Inherited from ObservableCollection<T>.)

System_CAPS_pubmethod Clear()

(Inherited from Collection<T>.)

System_CAPS_protmethod ClearItems()

(Overrides ObservableCollection<T>.ClearItems().)

System_CAPS_pubmethod Contains(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethod CopyTo(T[], Int32)

(Inherited from Collection<T>.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetEnumerator()

(Inherited from Collection<T>.)

System_CAPS_pubmethod GetHashCode()

(Overrides Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod IndexOf(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethod IndexOf(Int32)

Searches for the specified test action and returns the zero-based index of the first occurrence in the whole collection.

System_CAPS_pubmethod Insert(Int32, T)

(Inherited from Collection<T>.)

System_CAPS_protmethod InsertItem(Int32, ITestAction)

Inserts the provided test action into the collection at the specified index.(Overrides ObservableCollection<T>.InsertItem(Int32, T).)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Move(Int32, Int32)

(Inherited from ObservableCollection<T>.)

System_CAPS_protmethod MoveItem(Int32, Int32)

(Overrides ObservableCollection<T>.MoveItem(Int32, Int32).)

System_CAPS_pubmethod MoveTo(Int32, Int32, TestActionCollection)

Moves a test action from a collection to a different collection.

System_CAPS_protmethod OnCollectionChanged(NotifyCollectionChangedEventArgs)

(Inherited from ObservableCollection<T>.)

System_CAPS_protmethod OnPropertyChanged(PropertyChangedEventArgs)

(Inherited from ObservableCollection<T>.)

System_CAPS_pubmethod Remove(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethod RemoveAt(Int32)

(Inherited from Collection<T>.)

System_CAPS_protmethod RemoveItem(Int32)

(Overrides ObservableCollection<T>.RemoveItem(Int32).)

System_CAPS_protmethod SetItem(Int32, ITestAction)

Replaces the test action at the specified index by using the provided test action.(Overrides ObservableCollection<T>.SetItem(Int32, T).)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent CollectionChanged

(Inherited from ObservableCollection<T>.)

System_CAPS_protevent PropertyChanged

(Inherited from ObservableCollection<T>.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Add(Object)

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Contains(Object)

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.IndexOf(Object)

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Insert(Int32, Object)

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Remove(Object)

(Inherited from Collection<T>.)

Thread Safety

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

See Also

ObservableCollection<T>
ITestAction
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top