Class CloneExistingBugViewModel
A view model class containing logic for cloning an existing bug.
Implements
Inherited Members
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class CloneExistingBugViewModel : BindableBase, INotifyPropertyChanged
Constructors
View SourceCloneExistingBugViewModel(Dispatcher)
Initializes a new instance of the CloneExistingBugViewModel class.
Declaration
public CloneExistingBugViewModel(Dispatcher dispatcher)
Parameters
Type | Name | Description |
---|---|---|
Dispatcher | dispatcher | The dispatcher. |
Properties
View SourceCloneExistingBugCommand
Gets the command to clone the current bug item from the database into UI the user can edit.
Declaration
public ICommand CloneExistingBugCommand { get; }
Property Value
Type | Description |
---|---|
ICommand |
CurrentBug
Gets or sets the current bug that the user may want to clone.
Declaration
public BugInfo CurrentBug { get; set; }
Property Value
Type | Description |
---|---|
BugInfo |
CurrentBugKey
Gets or sets the current bug key.
Declaration
public string CurrentBugKey { get; set; }
Property Value
Type | Description |
---|---|
string |
SharedInfo
Gets or sets the shared info view model.
Declaration
public ViewModelSharedInfo SharedInfo { get; set; }
Property Value
Type | Description |
---|---|
ViewModelSharedInfo |
ValidateBugToCloneCommand
Gets the command for validating if the provided bug key is a bug in the data base.
Declaration
public ICommand ValidateBugToCloneCommand { get; }
Property Value
Type | Description |
---|---|
ICommand |
Methods
View SourceBrowseToCurrentBugLinkAsync()
Navigates to a bug in the database by opening it in a browser.
Declaration
public Task BrowseToCurrentBugLinkAsync()
Returns
Type | Description |
---|---|
Task |