Class ArubaViewModel
View model for the overall view.
Inherited Members
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class ArubaViewModel : BindableBase, INotifyPropertyChanged, IDisposable
Constructors
View SourceArubaViewModel(Dispatcher)
Initializes a new instance of the ArubaViewModel class.
Declaration
public ArubaViewModel(Dispatcher dispatcher)
Parameters
Type | Name | Description |
---|---|---|
Dispatcher | dispatcher | The dispatcher. |
Properties
View SourceAutoSaverUnsavedChangesModalVM
Declaration
public IAutoSaverUnsavedChangesModalViewModel AutoSaverUnsavedChangesModalVM { get; }
Property Value
Type | Description |
---|---|
IAutoSaverUnsavedChangesModalViewModel |
BugActionRegistry
Gets or sets the bug action registry.
Declaration
public BugActionRegistry BugActionRegistry { get; set; }
Property Value
Type | Description |
---|---|
BugActionRegistry |
BugCreationCancelBugShortcutCommand
Gets or sets the shortcut command for canceling a bug. [Ctrl + W]
Declaration
public static DelegateCommand<BugCreationViewModel> BugCreationCancelBugShortcutCommand { get; set; }
Property Value
Type | Description |
---|---|
DelegateCommand<BugCreationViewModel> |
BugCreationHistoryVM
Gets the IBugCreationHistoryViewModel.
Declaration
public IBugCreationHistoryViewModel BugCreationHistoryVM { get; }
Property Value
Type | Description |
---|---|
IBugCreationHistoryViewModel |
BugCreationNewBugShortcutCommand
Gets or sets the shortcut command for creating a new bug. [Ctrl + N]
Declaration
public static DelegateCommand<string> BugCreationNewBugShortcutCommand { get; set; }
Property Value
Type | Description |
---|---|
DelegateCommand<string> |
BugCreationRefreshTokensShortcutCommand
Gets or sets the shortcut command for refreshing tokens. [F5] [Ctrl + R]
Declaration
public static DelegateCommand<BugCreationViewModel> BugCreationRefreshTokensShortcutCommand { get; set; }
Property Value
Type | Description |
---|---|
DelegateCommand<BugCreationViewModel> |
BugCreationSubmitBugShortcutCommand
Gets or sets the shortcut command for submitting a bug. [Ctrl + S]
Declaration
public static DelegateCommand<BugCreationViewModel> BugCreationSubmitBugShortcutCommand { get; set; }
Property Value
Type | Description |
---|---|
DelegateCommand<BugCreationViewModel> |
BugCreationTabsVM
Gets the BugCreationTabsViewModel.
Declaration
public BugCreationTabsViewModel BugCreationTabsVM { get; }
Property Value
Type | Description |
---|---|
BugCreationTabsViewModel |
BugViewerVM
Gets the BugViewerViewModel.
Declaration
public BugViewerViewModel BugViewerVM { get; }
Property Value
Type | Description |
---|---|
BugViewerViewModel |
BusyContext
Gets or sets the BusyContextModel.
Declaration
public BusyContextModel BusyContext { get; set; }
Property Value
Type | Description |
---|---|
BusyContextModel |
CurrentUserAccessLevel
Gets or sets the current user access level.
Declaration
public AccessLevel CurrentUserAccessLevel { get; set; }
Property Value
Type | Description |
---|---|
AccessLevel |
HasAdminAccess
Gets a value indicating whether the user has admin access.
Declaration
public bool HasAdminAccess { get; }
Property Value
Type | Description |
---|---|
bool |
HasBugCreatorAccess
Gets a value indicating whether the user has bug creation access.
Declaration
public bool HasBugCreatorAccess { get; }
Property Value
Type | Description |
---|---|
bool |
HasBugViewingAccess
Gets a value indicating whether the user has bug viewing access.
Declaration
public bool HasBugViewingAccess { get; }
Property Value
Type | Description |
---|---|
bool |
HasTemplateEditorAccess
Gets a value indicating whether the user has template editor access.
Declaration
public bool HasTemplateEditorAccess { get; }
Property Value
Type | Description |
---|---|
bool |
HasUnsavedChanges
Gets a value indicating whether any unsaved changes remain.
Declaration
public bool HasUnsavedChanges { get; }
Property Value
Type | Description |
---|---|
bool |
IsInitialized
Gets a value indicating whether the view model is initialized.
Declaration
public bool IsInitialized { get; }
Property Value
Type | Description |
---|---|
bool |
LayoutEditorSaveShortcutCommand
Gets or sets the shortcut command for saving a layout. [Ctrl + S]
Declaration
public static ICommand LayoutEditorSaveShortcutCommand { get; set; }
Property Value
Type | Description |
---|---|
ICommand |
LayoutEditorVM
Gets the LayoutEditorViewModel.
Declaration
public LayoutEditorViewModel LayoutEditorVM { get; }
Property Value
Type | Description |
---|---|
LayoutEditorViewModel |
SharedInfo
Gets or sets the view model shared info.
Declaration
public ViewModelSharedInfo SharedInfo { get; set; }
Property Value
Type | Description |
---|---|
ViewModelSharedInfo |
TemplateEditorDuplicateShortcutCommand
Gets or sets the shortcut command for duplicating a template. [Ctrl + D]
Declaration
public static DelegateCommand<string> TemplateEditorDuplicateShortcutCommand { get; set; }
Property Value
Type | Description |
---|---|
DelegateCommand<string> |
TemplateEditorNewShortcutCommand
Gets or sets the shortcut command for creating a new template. [Ctrl + N]
Declaration
public static DelegateCommand<string> TemplateEditorNewShortcutCommand { get; set; }
Property Value
Type | Description |
---|---|
DelegateCommand<string> |
TemplateEditorSaveShortcutCommand
Gets or sets the shortcut command for saving a template. [Ctrl + S]
Declaration
public static DelegateCommand<string> TemplateEditorSaveShortcutCommand { get; set; }
Property Value
Type | Description |
---|---|
DelegateCommand<string> |
TemplateEditorVM
Gets the TemplateEditorViewModel.
Declaration
public TemplateEditorViewModel TemplateEditorVM { get; }
Property Value
Type | Description |
---|---|
TemplateEditorViewModel |
TemplateExplorerVM
Gets the TemplateExplorerViewModel.
Declaration
public TemplateExplorerViewModel TemplateExplorerVM { get; }
Property Value
Type | Description |
---|---|
TemplateExplorerViewModel |
TokenExplorerNewShortcutCommand
Gets or sets the shortcut command for creating a new token. [Ctrl + N]
Declaration
public static ICommand TokenExplorerNewShortcutCommand { get; set; }
Property Value
Type | Description |
---|---|
ICommand |
TokenExplorerSaveShortcutCommand
Gets or sets the shortcut command for saving a token. [Ctrl + S]
Declaration
public static ICommand TokenExplorerSaveShortcutCommand { get; set; }
Property Value
Type | Description |
---|---|
ICommand |
TokenExplorerVM
Gets the TokenExplorerViewModel.
Declaration
public TokenExplorerViewModel TokenExplorerVM { get; }
Property Value
Type | Description |
---|---|
TokenExplorerViewModel |
TokenResolverRegistry
Gets or sets the token resolver registry.
Declaration
public TokenResolverRegistry TokenResolverRegistry { get; set; }
Property Value
Type | Description |
---|---|
TokenResolverRegistry |
Methods
View SourceDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
InitializeAsync()
Initialize this.
Declaration
public Task InitializeAsync()
Returns
Type | Description |
---|---|
Task | A task. |
RefreshLayoutAsync()
Declaration
public Task RefreshLayoutAsync()
Returns
Type | Description |
---|---|
Task |
SetMediaProvider(IMediaProvider)
Sets the media provider.
Declaration
public void SetMediaProvider(IMediaProvider mediaProvider)
Parameters
Type | Name | Description |
---|---|---|
IMediaProvider | mediaProvider | The media provider. |
Uninitialize()
Uninitialize the Aruba View Model
Declaration
public void Uninitialize()
UninitializedAsync()
Uninitialize the Aruba View Model
Declaration
public Task UninitializedAsync()
Returns
Type | Description |
---|---|
Task | A Task. |