Class IOperationExtensions
Extension methods for IOperation.
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain.Operations
Assembly: BotBrain.Operations.dll
Syntax
public static class IOperationExtensions
Methods
View SourceRun<T>(IOperation<T>, IEnumerable<T>)
Runs the operation on a list of items.
Declaration
public static Task Run<T>(this IOperation<T> self, IEnumerable<T> items)
Parameters
| Type | Name | Description |
|---|---|---|
| IOperation<T> | self | The operation being extended. |
| IEnumerable<T> | items | The list of items to use. |
Returns
| Type | Description |
|---|---|
| Task | A task that completes when the operation is finished on all items. |
Type Parameters
| Name | Description |
|---|---|
| T | A context to run the operation in. |