Show / Hide Table of Contents

Interface IBotBrainClient

A view model for a bot automated by a brain.

Inherited Members
IBotViewModelWithActions.Actions
IBotViewModelWithActions.SelectedAction
IBotViewModelWithBrain.Brain
IBotViewModel.IsRunningChanged
IBotViewModel.DetailsTitle
IBotViewModel.AllListViewChoices
IBotViewModel.ListViewTitle
IBotViewModel.ListViewContext
IBotViewModel.ListDetailsTitle
IBotViewModel.Name
IBotViewModel.Status
IBotViewModel.IsRunning
IBotViewModel.CanStart
IBotViewModel.CanResume
IBotViewModel.CanStop
IBotViewModel.CanSave
IBotViewModel.FilePath
IBotViewModel.IsRunningOn(IDevice)
IBotViewModel.StartAsync()
IBotViewModel.ResumeAsync()
IBotViewModel.StopAsync()
IBotViewModel.Load(string)
IBotViewModel.Save()
IBotViewModel.OnDeviceSelected(DeviceCollectionChangeInfo)
IBotViewModel.OnCanExecuteChanged()
INotifyPropertyChanged.PropertyChanged
IOnSelected.OnSelected(object)
Namespace: Phoenix.BotBrain
Assembly: Phoenix.Plugin.BotBrain.BrainEditor.dll
Syntax
public interface IBotBrainClient : IBotViewModelWithActions, IBotViewModelWithBrain, IBotViewModel, INotifyPropertyChanged, IOnSelected

Properties

View Source

Bot

Gets the bot being automated.

Declaration
IAutomatedBot? Bot { get; }
Property Value
Type Description
IAutomatedBot
View Source

BrainView

Gets or sets the bot brain view model.

Declaration
BotBrainViewModel? BrainView { get; set; }
Property Value
Type Description
BotBrainViewModel
View Source

CurrentAction

Gets the current action, if one is running.

Declaration
object? CurrentAction { get; }
Property Value
Type Description
object
View Source

Device

Gets or sets the device associated with the bot.

Declaration
IDevice? Device { get; set; }
Property Value
Type Description
IDevice
View Source

StartTime

Gets the time this bot was started, if it is running.

Declaration
DateTime? StartTime { get; }
Property Value
Type Description
DateTime?

Methods

View Source

OnBotUpdated(IBrainBotData)

Called when the brain updates this bot.

Declaration
void OnBotUpdated(IBrainBotData data)
Parameters
Type Name Description
IBrainBotData data

The brain bot data.

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