Class BugCreationTabsViewModel
View Model to manage and contain all bugs currently being edited.
Inherited Members
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class BugCreationTabsViewModel : BindableBase, INotifyPropertyChanged, IDisposable
Constructors
View SourceBugCreationTabsViewModel(Dispatcher)
Initializes a new instance of the BugCreationTabsViewModel class.
Declaration
public BugCreationTabsViewModel(Dispatcher dispatcher)
Parameters
Type | Name | Description |
---|---|---|
Dispatcher | dispatcher | The dispatcher. |
Properties
View SourceBugVMs
Gets the bugs currently being edited/created.
Declaration
public ObservableCollection<BugCreationViewModel> BugVMs { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<BugCreationViewModel> |
BusyContext
Gets or sets the BusyContextModel.
Declaration
public BusyContextModel BusyContext { get; set; }
Property Value
Type | Description |
---|---|
BusyContextModel |
DockedBugsCollection
Gets the collection of bugs that are docked.
Declaration
public ICollectionView DockedBugsCollection { get; }
Property Value
Type | Description |
---|---|
ICollectionView |
HasUnsavedChanges
Gets a value indicating whether any unsaved changes remain.
Declaration
public bool HasUnsavedChanges { get; }
Property Value
Type | Description |
---|---|
bool |
MediaProvider
Gets or sets the media provider.
Declaration
public IMediaProvider MediaProvider { get; set; }
Property Value
Type | Description |
---|---|
IMediaProvider |
SelectedBugVM
Gets or sets the selected bug from the docked collection.
Declaration
public BugCreationViewModel SelectedBugVM { get; set; }
Property Value
Type | Description |
---|---|
BugCreationViewModel |
SetAllBugsIsDockedCommand
Gets or sets the shortcut command for docking or undocking all bugs.
Declaration
public static DelegateCommand<string> SetAllBugsIsDockedCommand { get; set; }
Property Value
Type | Description |
---|---|
DelegateCommand<string> |
SharedInfo
Gets or sets the shared info view model.
Declaration
public ViewModelSharedInfo SharedInfo { get; set; }
Property Value
Type | Description |
---|---|
ViewModelSharedInfo |
TokenResolverRegistry
Gets or sets the token resolver registry.
Declaration
public TokenResolverRegistry TokenResolverRegistry { get; set; }
Property Value
Type | Description |
---|---|
TokenResolverRegistry |
UndockedBugsCollection
Gets the collection of bugs that are undocked.
Declaration
public ICollectionView UndockedBugsCollection { get; }
Property Value
Type | Description |
---|---|
ICollectionView |
UndockedSelectedBugVM
Gets or sets the selected bug from the undocked collection.
Declaration
public BugCreationViewModel UndockedSelectedBugVM { get; set; }
Property Value
Type | Description |
---|---|
BugCreationViewModel |
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. |
OnPopUpWindowClosing(object, CancelEventArgs)
Declaration
public void OnPopUpWindowClosing(object sender, CancelEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
object | sender | |
CancelEventArgs | e |
RaiseDeviceCommandsCanExecute()
Inform bug view models that device changes have occurred.
Declaration
public void RaiseDeviceCommandsCanExecute()
SetMediaProvider(IMediaProvider)
Sets the media provider.
Declaration
public void SetMediaProvider(IMediaProvider mediaProvider)
Parameters
Type | Name | Description |
---|---|---|
IMediaProvider | mediaProvider | The media provider. |
Uninitialize()
Uninitialize the BugCreationTabsViewModel.
Declaration
public void Uninitialize()
UninitializeAsync()
Uninitialize the BugCreationTabsViewModel.
Declaration
public Task UninitializeAsync()
Returns
Type | Description |
---|---|
Task | A Task. |