Compartilhar via


Classe TestActionCollection

 

Fornece uma lista ordenada de ações de teste, no qual as ações são armazenadas na ordem em que elas serão executadas.

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

Hierarquia de herança

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

Sintaxe

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)

Propriedades

Nome Descrição
System_CAPS_pubproperty Count

(herdado de Collection<T>.)

System_CAPS_pubproperty Item[Int32]

(herdado de Collection<T>.)

System_CAPS_protproperty Items

(herdado de Collection<T>.)

Métodos

Nome Descrição
System_CAPS_pubmethod Add(T)

(herdado de Collection<T>.)

System_CAPS_protmethod BlockReentrancy()

(herdado de ObservableCollection<T>.)

System_CAPS_protmethod CheckReentrancy()

(herdado de ObservableCollection<T>.)

System_CAPS_pubmethod Clear()

(herdado de Collection<T>.)

System_CAPS_protmethod ClearItems()

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

System_CAPS_pubmethod Contains(T)

(herdado de Collection<T>.)

System_CAPS_pubmethod CopyTo(T[], Int32)

(herdado de Collection<T>.)

System_CAPS_pubmethod Equals(Object)

(herdado de Object.)

System_CAPS_protmethod Finalize()

(herdado de Object.)

System_CAPS_pubmethod GetEnumerator()

(herdado de Collection<T>.)

System_CAPS_pubmethod GetHashCode()

(Substitui Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(herdado de Object.)

System_CAPS_pubmethod IndexOf(T)

(herdado de Collection<T>.)

System_CAPS_pubmethod IndexOf(Int32)

Pesquisa para a ação de teste especificado e retorna o índice baseado em zero da primeira ocorrência na coleção inteira.

System_CAPS_pubmethod Insert(Int32, T)

(herdado de Collection<T>.)

System_CAPS_protmethod InsertItem(Int32, ITestAction)

Insere a ação de teste fornecido na coleção no índice especificado.(Substitui ObservableCollection<T>.InsertItem(Int32, T).)

System_CAPS_protmethod MemberwiseClone()

(herdado de Object.)

System_CAPS_pubmethod Move(Int32, Int32)

(herdado de ObservableCollection<T>.)

System_CAPS_protmethod MoveItem(Int32, Int32)

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

System_CAPS_pubmethod MoveTo(Int32, Int32, TestActionCollection)

Move uma ação de teste de uma coleção para uma coleção diferente.

System_CAPS_protmethod OnCollectionChanged(NotifyCollectionChangedEventArgs)

(herdado de ObservableCollection<T>.)

System_CAPS_protmethod OnPropertyChanged(PropertyChangedEventArgs)

(herdado de ObservableCollection<T>.)

System_CAPS_pubmethod Remove(T)

(herdado de Collection<T>.)

System_CAPS_pubmethod RemoveAt(Int32)

(herdado de Collection<T>.)

System_CAPS_protmethod RemoveItem(Int32)

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

System_CAPS_protmethod SetItem(Int32, ITestAction)

Substitui a ação de teste no índice especificado usando a ação de teste fornecido.(Substitui ObservableCollection<T>.SetItem(Int32, T).)

System_CAPS_pubmethod ToString()

(herdado de Object.)

Eventos

Nome Descrição
System_CAPS_pubevent CollectionChanged

(herdado de ObservableCollection<T>.)

System_CAPS_protevent PropertyChanged

(herdado de ObservableCollection<T>.)

Implementações explícitas da interface

Nome Descrição
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(herdado de Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

(herdado de Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Add(Object)

(herdado de Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Contains(Object)

(herdado de Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.IndexOf(Object)

(herdado de Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Insert(Int32, Object)

(herdado de Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Remove(Object)

(herdado de Collection<T>.)

Acesso thread-safe

Qualquer estático público (Compartilhado no Visual Basic) membros desde tipo são thread safe. Não há garantia de que qualquer membro de instância seja thread-safe.

Consulte também

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

Retornar ao topo