Show / Hide Table of Contents

Class OvermindUIHelpers

Helper methods for populating the overmind UI.

Inheritance
object
BindableBase
ViewModelBase
AutomationViewModelBase
OvermindUIHelpers
Implements
INotifyPropertyChanged
IDisposable
Inherited Members
AutomationViewModelBase.AllFileTypeFilter
AutomationViewModelBase.Events
AutomationViewModelBase.EventSubscriber
AutomationViewModelBase.Dispose()
AutomationViewModelBase.PromptToOpenFile(string, string, bool, string)
AutomationViewModelBase.PromptToSaveFile(string, string, string)
AutomationViewModelBase.LoadResourceDictionary(string, Type)
AutomationViewModelBase.AddResourceDictionaryTo(FrameworkElement, string, Type)
ViewModelBase.Services
ViewModelBase.Logger
ViewModelBase.TelemetryClient
ViewModelBase.LogVerboseException(Exception, string, string)
BindableBase.SetProperty<T>(ref T, T, string)
BindableBase.SetProperty<T>(ref T, T, Action, string)
BindableBase.RaisePropertyChanged(string)
BindableBase.OnPropertyChanged(PropertyChangedEventArgs)
BindableBase.PropertyChanged
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 Source

OvermindUIHelpers(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 Source

AvailableQualityPasses

Gets the collection of available quality pass names.

Declaration
public ObservableCollection<string> AvailableQualityPasses { get; }
Property Value
Type Description
ObservableCollection<string>
View Source

AvailableRequirements

Gets the collection of available requirements.

Declaration
public ObservableCollection<RequirementInfo> AvailableRequirements { get; }
Property Value
Type Description
ObservableCollection<RequirementInfo>
View Source

AvailableRoles

Gets the collection of available role names.

Declaration
public ObservableCollection<string> AvailableRoles { get; }
Property Value
Type Description
ObservableCollection<string>
View Source

AvailableScenarios

Gets the collection of available scenario names.

Declaration
public ObservableCollection<string> AvailableScenarios { get; }
Property Value
Type Description
ObservableCollection<string>
View Source

DefaultQualityPassName

Gets the default quality pass name to load.

Declaration
public virtual string DefaultQualityPassName { get; }
Property Value
Type Description
string
View Source

QualityPassFileFilter

Gets the filter for quality pass files.

Declaration
public string QualityPassFileFilter { get; }
Property Value
Type Description
string
View Source

ScenarioAndRoleFileFilter

Gets the filter for scenario and role files.

Declaration
public string ScenarioAndRoleFileFilter { get; }
Property Value
Type Description
string

Methods

View Source

CreateScenarioMenuItems()

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.

View Source

LoadAvailableQualityPasses()

Loads the collection of available quality pass names.

Declaration
public Task LoadAvailableQualityPasses()
Returns
Type Description
Task

A Task representing the asynchronous operation.

View Source

LoadAvailableRequirements()

Loads the collection of available requirement names.

Declaration
public Task LoadAvailableRequirements()
Returns
Type Description
Task

A Task representing the asynchronous operation.

View Source

LoadAvailableRoles()

Loads the collection of available role names.

Declaration
public Task LoadAvailableRoles()
Returns
Type Description
Task

A Task representing the asynchronous operation.

View Source

LoadAvailableScenarios()

Loads the collection of available scenario names.

Declaration
public Task LoadAvailableScenarios()
Returns
Type Description
Task

A Task representing the asynchronous operation.

Implements

INotifyPropertyChanged
IDisposable

Extension Methods

INotifyPropertyChangedExtensions.OnPropertyChanged(INotifyPropertyChanged, string, Action)
INotifyPropertyChangedExtensions.OnPropertyChanged(INotifyPropertyChanged, string, Action<object?, string>)
INotifyPropertyChangedExtensions.OnPropertyChangedUntil(INotifyPropertyChanged, string, Func<bool>)
INotifyPropertyChangedExtensions.OnPropertyChangedUntil(INotifyPropertyChanged, string, Func<object?, string, bool>)
  • View Source
In this article
Back to top Generated by DocFX