Class BotActionListViewModel
A view model for managing bot actions in a ListView.
Inheritance
BotActionListViewModel
Implements
Inherited Members
Namespace: Phoenix.BotBrain
Assembly: Phoenix.Plugin.BotBrain.BotScripting.dll
Syntax
public class BotActionListViewModel : ListViewModel<IBotActionViewModel>, INotifyPropertyChanged, IReadOnlyCollection<IBotActionViewModel>, IEnumerable<IBotActionViewModel>, IEnumerable, INotifyCollectionChanged, IListViewModel, ICanMoveItemsWithin, ICanMoveItemsTo, ICanConsumeFiles
Remarks
Initializes a new instance of the BotActionListViewModel class.
Constructors
View SourceBotActionListViewModel(IBotViewModelWithActions, IServiceProvider?)
A view model for managing bot actions in a ListView.
Declaration
public BotActionListViewModel(IBotViewModelWithActions bot, IServiceProvider? services = null)
Parameters
Type | Name | Description |
---|---|---|
IBotViewModelWithActions | bot | The bot. |
IServiceProvider | services | The service provider. |
Remarks
Initializes a new instance of the BotActionListViewModel 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. |