Show / Hide Table of Contents

Class OperationStateChangedInfo<T>

The event when an operation changes state on an item.

Inheritance
object
OperationStateChangedInfo<T>
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 class OperationStateChangedInfo<T>
Type Parameters
Name Description
T

The operation's item type.

Remarks

Initializes a new instance of the OperationStateChangedInfo<T> class.

Constructors

View Source

OperationStateChangedInfo(T, bool, bool)

The event when an operation changes state on an item.

Declaration
public OperationStateChangedInfo(T item, bool isExecuting = false, bool result = false)
Parameters
Type Name Description
T item

The item being operated on.

bool isExecuting

Whether or not the operation is running.

bool result

Whether or not the operation was successful.

Remarks

Initializes a new instance of the OperationStateChangedInfo<T> class.

Properties

View Source

IsExecuting

Gets a value indicating whether or not the operation is running.

Declaration
public bool IsExecuting { get; }
Property Value
Type Description
bool
View Source

Item

Gets the item being operated on.

Declaration
public T Item { get; }
Property Value
Type Description
T
View Source

Result

Gets a value indicating whether or not the operation was successful.

Declaration
public bool Result { get; }
Property Value
Type Description
bool
  • View Source
In this article
Back to top Generated by DocFX