Class BotTreeViewModel
A view model for managing bots in a TreeView.
Implements
Inherited Members
Namespace: Phoenix.BotBrain
Assembly: Phoenix.Plugin.BotBrain.BotScripting.dll
Syntax
public class BotTreeViewModel : TreeViewModel<IBotViewModel>, INotifyPropertyChanged, IReadOnlyCollection<IBotViewModel>, IEnumerable<IBotViewModel>, IEnumerable, INotifyCollectionChanged, ICanConsumeFiles
Remarks
Initializes a new instance of the BotTreeViewModel class.
Constructors
View SourceBotTreeViewModel(BotAutomationViewModel, IServiceProvider)
A view model for managing bots in a TreeView.
Declaration
public BotTreeViewModel(BotAutomationViewModel parent, IServiceProvider services)
Parameters
Type | Name | Description |
---|---|---|
BotAutomationViewModel | parent | The parent view model. |
IServiceProvider | services | The service provider for creating items. |
Remarks
Initializes a new instance of the BotTreeViewModel class.
Methods
View SourceConsumeFiles(string[])
Consumes the given files.
Declaration
public void ConsumeFiles(string[] files)
Parameters
Type | Name | Description |
---|---|---|
string[] | files | An array of files. |