Show / Hide Table of Contents

Class IOperationExtensions

Extension methods for IOperation.

Inheritance
object
IOperationExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.BotBrain.Operations
Assembly: BotBrain.Operations.dll
Syntax
public static class IOperationExtensions

Methods

View Source

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

  • View Source
In this article
Back to top Generated by DocFX