Show / Hide Table of Contents

Interface IRoleBasedScenarioViewModel

Represents a role-based scenario.

Inherited Members
IScenarioTreeItem.Title
IScenarioTreeItem.Item
IScenarioTreeItem.QualityPass
IScenarioTreeItem.HasUnsavedChanges
Namespace: Phoenix.BotBrain.Overmind
Assembly: Phoenix.Plugin.BotBrain.Overmind.dll
Syntax
public interface IRoleBasedScenarioViewModel : IScenarioTreeItem

Properties

View Source

CreateRequirementCommand

Gets the command to create a requirement.

Declaration
DelegateCommand<RequirementInfo> CreateRequirementCommand { get; }
Property Value
Type Description
DelegateCommand<RequirementInfo>
View Source

Requirements

Gets an enumeration of requirements.

Declaration
IEnumerable<IRequirement> Requirements { get; }
Property Value
Type Description
IEnumerable<IRequirement>
View Source

Roles

Gets an enumeration of roles.

Declaration
IEnumerable<IRoleViewModel> Roles { get; }
Property Value
Type Description
IEnumerable<IRoleViewModel>
View Source

Scenario

Gets or sets the scenario.

Declaration
IRoleBasedScenario Scenario { get; set; }
Property Value
Type Description
IRoleBasedScenario
View Source

Status

Gets the scenario status.

Declaration
ScenarioStatus Status { get; }
Property Value
Type Description
ScenarioStatus

Methods

View Source

AddRole(IRole)

Adds a role to the scenario.

Declaration
void AddRole(IRole role)
Parameters
Type Name Description
IRole role

The role to add.

View Source

OnStatusChanged(ScenarioStatusChangedEventArgs)

Updates the scenario status in the UI.

Declaration
void OnStatusChanged(ScenarioStatusChangedEventArgs statusChanged)
Parameters
Type Name Description
ScenarioStatusChangedEventArgs statusChanged

The status changed event args.

View Source

RemoveRole(IRoleViewModel)

Removes a role from the scenario.

Declaration
void RemoveRole(IRoleViewModel role)
Parameters
Type Name Description
IRoleViewModel role

The role view model to remove.

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