Show / Hide Table of Contents

Class BotTreeViewModel

A view model for managing bots in a TreeView.

Inheritance
object
BindableBase
TreeViewModel<IBotViewModel>
BotTreeViewModel
Implements
INotifyPropertyChanged
IReadOnlyCollection<IBotViewModel>
IEnumerable<IBotViewModel>
IEnumerable
INotifyCollectionChanged
ICanConsumeFiles
Inherited Members
TreeViewModel<IBotViewModel>.CollectionChanged
TreeViewModel<IBotViewModel>.Services
TreeViewModel<IBotViewModel>.Items
TreeViewModel<IBotViewModel>.SelectedItem
TreeViewModel<IBotViewModel>.IsEditable
TreeViewModel<IBotViewModel>.IsClearable
TreeViewModel<IBotViewModel>.CanAdd
TreeViewModel<IBotViewModel>.CanClear
TreeViewModel<IBotViewModel>.AddItemCommand
TreeViewModel<IBotViewModel>.RemoveSelectedItemCommand
TreeViewModel<IBotViewModel>.RemoveItemsCommand
TreeViewModel<IBotViewModel>.ClearAllItemsCommand
TreeViewModel<IBotViewModel>.AddWithPopup
TreeViewModel<IBotViewModel>.CreateItemFunc
TreeViewModel<IBotViewModel>.RemoveSubItemFunc
TreeViewModel<IBotViewModel>.AvailableItems
TreeViewModel<IBotViewModel>.AvailableItemsDisplayMemberPath
TreeViewModel<IBotViewModel>.IsSorted
TreeViewModel<IBotViewModel>.Count
TreeViewModel<IBotViewModel>.GetEnumerator()
TreeViewModel<IBotViewModel>.AddItem(object)
TreeViewModel<IBotViewModel>.AddItem(IBotViewModel)
TreeViewModel<IBotViewModel>.InsertItem(int, IBotViewModel)
TreeViewModel<IBotViewModel>.RemoveItems(IEnumerable<IBotViewModel>)
TreeViewModel<IBotViewModel>.RemoveItem(IBotViewModel)
TreeViewModel<IBotViewModel>.ClearAllItems()
TreeViewModel<IBotViewModel>.CreateItem(object)
TreeViewModel<IBotViewModel>.SynchronizeTo<T2>(IEnumerable<T2>, Func<IBotViewModel, T2>, Action<T2>, Action<T2>)
TreeViewModel<IBotViewModel>.OnCollectionChanged(NotifyCollectionChangedEventArgs)
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
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 Source

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

ConsumeFiles(string[])

Consumes the given files.

Declaration
public void ConsumeFiles(string[] files)
Parameters
Type Name Description
string[] files

An array of files.

Implements

INotifyPropertyChanged
IReadOnlyCollection<T>
IEnumerable<T>
IEnumerable
INotifyCollectionChanged
ICanConsumeFiles

Extension Methods

IEnumerableExtensions.WithoutLast<T>(IEnumerable<T>)
INotifyCollectionChangedExtensions.OnItemAdded(INotifyCollectionChanged, Action<object?>)
INotifyCollectionChangedExtensions.OnItemAdded<T2>(INotifyCollectionChanged, Action<T2>)
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