Show / Hide Table of Contents

Class AutomationViewModelBase<T>

The view model for a bot automation panel.

Inheritance
object
BindableBase
ViewModelBase
AutomationViewModelBase
AutomationViewModelBase<T>
BotAutomationViewModel
CanvasViewModel
OvermindViewModel
Implements
INotifyPropertyChanged
IDisposable
Inherited Members
AutomationViewModelBase.AllFileTypeFilter
AutomationViewModelBase.Events
AutomationViewModelBase.EventSubscriber
AutomationViewModelBase.Dispose()
AutomationViewModelBase.PromptToOpenFile(string, string, bool, string)
AutomationViewModelBase.PromptToSaveFile(string, string, string)
AutomationViewModelBase.LoadResourceDictionary(string, Type)
AutomationViewModelBase.AddResourceDictionaryTo(FrameworkElement, string, Type)
ViewModelBase.Services
ViewModelBase.Logger
ViewModelBase.LogVerboseException(Exception, string, string)
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.Shared.dll
Syntax
public class AutomationViewModelBase<T> : AutomationViewModelBase, INotifyPropertyChanged, IDisposable where T : UserControl
Type Parameters
Name Description
T

The view type.

Constructors

View Source

AutomationViewModelBase(T, IServiceProvider, IEventAggregator?)

Initializes a new instance of the AutomationViewModelBase<T> class.

Declaration
public AutomationViewModelBase(T content, IServiceProvider services, IEventAggregator? events = null)
Parameters
Type Name Description
T content

The view for this view model.

IServiceProvider services

The service provider used to log and send telemetry.

IEventAggregator events

The event aggregator.

Properties

View Source

Content

Gets the view associated with this view model.

Declaration
public T Content { get; }
Property Value
Type Description
T
View Source

SelectedDevice

Gets the currently selected device.

Declaration
public IDevice? SelectedDevice { get; }
Property Value
Type Description
IDevice
View Source

TelemetryClient

Gets the telemetry client.

Declaration
protected override ITelemetryClient? TelemetryClient { get; }
Property Value
Type Description
ITelemetryClient
Overrides
ViewModelBase.TelemetryClient

Methods

View Source

HandleDeviceSelected(DeviceCollectionChangeInfo)

Handles when the user's device selection changes.

Declaration
protected virtual void HandleDeviceSelected(DeviceCollectionChangeInfo changeInfo)
Parameters
Type Name Description
DeviceCollectionChangeInfo changeInfo

The change information.

Implements

INotifyPropertyChanged
IDisposable

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