ContainerWaitStrategyCollection Class
An ordered collection of wait strategies run when a container starts.
public sealed class ContainerWaitStrategyCollection : IEnumerable<IWaitStrategy>, IEnumerable- Implements
Properties
| Name | Description |
|---|---|
| Count | Gets the number of strategies in the collection. |
Methods
| Name | Description |
|---|---|
| Add(IWaitStrategy) | Adds a wait strategy. |
| GetEnumerator() | Returns an enumerator over the strategies. |
| System.Collections.IEnumerable.GetEnumerator() |
Add(IWaitStrategy)
ContainerWaitStrategyCollection.csAdds a wait strategy.
public void Add(IWaitStrategy strategy)Parameters
strategyIWaitStrategy- The strategy to add.
GetEnumerator()
ContainerWaitStrategyCollection.csReturns an enumerator over the strategies.
public IEnumerator<IWaitStrategy> GetEnumerator()Returns
IEnumerator<IWaitStrategy> An enumerator.