Class BotActionViewModel
The view model for a bot action.
Inherited Members
Namespace: Phoenix.BotBrain
Assembly: Phoenix.Plugin.BotBrain.BotScripting.dll
Syntax
[DataContract]
public class BotActionViewModel : BindableBase, INotifyPropertyChanged, IBotActionViewModel
Properties
View SourceAction
Gets or sets the underlying action.
Declaration
[DataMember]
public object? Action { get; set; }
Property Value
Type | Description |
---|---|
object |
Bot
Gets or sets the bot associated with this action.
Declaration
public IBotViewModel? Bot { get; set; }
Property Value
Type | Description |
---|---|
IBotViewModel |
IsRunning
Gets or sets a value indicating whether or not the action is running.
Declaration
public bool IsRunning { get; set; }
Property Value
Type | Description |
---|---|
bool |
Name
Gets or sets the action name.
Declaration
[DataMember]
public string? Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |