Class OvermindUIHelpers
Helper methods for populating the overmind UI.
Inherited Members
Namespace: Phoenix.BotBrain.Overmind
Assembly: Phoenix.Plugin.BotBrain.Overmind.dll
Syntax
public class OvermindUIHelpers : AutomationViewModelBase, INotifyPropertyChanged, IDisposable
Remarks
Initializes a new instance of the OvermindUIHelpers class.
Constructors
View SourceOvermindUIHelpers(IServiceProvider, IOvermindSerializer, BotBrainUIHelpers)
Helper methods for populating the overmind UI.
Declaration
public OvermindUIHelpers(IServiceProvider services, IOvermindSerializer serializer, BotBrainUIHelpers uiHelpers)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | services | The service provider. |
IOvermindSerializer | serializer | The brain serializer. |
BotBrainUIHelpers | uiHelpers | The bot brain UI helpers. |
Remarks
Initializes a new instance of the OvermindUIHelpers class.
Properties
View SourceAvailableQualityPasses
Gets the collection of available quality pass names.
Declaration
public ObservableCollection<string> AvailableQualityPasses { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<string> |
AvailableRequirements
Gets the collection of available requirements.
Declaration
public ObservableCollection<RequirementInfo> AvailableRequirements { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<RequirementInfo> |
AvailableRoles
Gets the collection of available role names.
Declaration
public ObservableCollection<string> AvailableRoles { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<string> |
AvailableScenarios
Gets the collection of available scenario names.
Declaration
public ObservableCollection<string> AvailableScenarios { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<string> |
DefaultQualityPassName
Gets the default quality pass name to load.
Declaration
public virtual string DefaultQualityPassName { get; }
Property Value
Type | Description |
---|---|
string |
QualityPassFileFilter
Gets the filter for quality pass files.
Declaration
public string QualityPassFileFilter { get; }
Property Value
Type | Description |
---|---|
string |
ScenarioAndRoleFileFilter
Gets the filter for scenario and role files.
Declaration
public string ScenarioAndRoleFileFilter { get; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceCreateScenarioMenuItems()
Creates an enumeration of MenuItem to add new items to the quality pass.
Declaration
public IEnumerable<MenuItem> CreateScenarioMenuItems()
Returns
Type | Description |
---|---|
IEnumerable<MenuItem> | An enumeration of MenuItem. |
LoadAvailableQualityPasses()
Loads the collection of available quality pass names.
Declaration
public Task LoadAvailableQualityPasses()
Returns
Type | Description |
---|---|
Task | A Task representing the asynchronous operation. |
LoadAvailableRequirements()
Loads the collection of available requirement names.
Declaration
public Task LoadAvailableRequirements()
Returns
Type | Description |
---|---|
Task | A Task representing the asynchronous operation. |
LoadAvailableRoles()
Loads the collection of available role names.
Declaration
public Task LoadAvailableRoles()
Returns
Type | Description |
---|---|
Task | A Task representing the asynchronous operation. |
LoadAvailableScenarios()
Loads the collection of available scenario names.
Declaration
public Task LoadAvailableScenarios()
Returns
Type | Description |
---|---|
Task | A Task representing the asynchronous operation. |