Show / Hide Table of Contents

Class IScenarioExtensions

Extension methods for IScenario.

Inheritance
object
IScenarioExtensions
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.Overmind
Assembly: BotBrain.Overmind.dll
Syntax
public static class IScenarioExtensions

Methods

View Source

HasEnoughDevices(IScenario)

Determines if the scenario has enough devices to run.

Declaration
public static bool HasEnoughDevices(this IScenario self)
Parameters
Type Name Description
IScenario self

The scenario being extended.

Returns
Type Description
bool

True if it has enough devices.

View Source

IsActive(IScenario)

Determines if the scenario is active.

Declaration
public static bool IsActive(this IScenario self)
Parameters
Type Name Description
IScenario self

The scenario being extended.

Returns
Type Description
bool

True if it is active.

View Source

IsFinished(IScenario)

Determines if the scenario is finished.

Declaration
public static bool IsFinished(this IScenario self)
Parameters
Type Name Description
IScenario self

The scenario being extended.

Returns
Type Description
bool

True if it is finished.

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