Show / Hide Table of Contents

Class BugViewerViewModel

Represents the BugViewer view model.

Inheritance
object
BindableBase
BugViewerViewModel
Implements
INotifyPropertyChanged
Inherited Members
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.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class BugViewerViewModel : BindableBase, INotifyPropertyChanged

Constructors

View Source

BugViewerViewModel(Dispatcher)

Initializes a new instance of the BugViewerViewModel class.

Declaration
public BugViewerViewModel(Dispatcher dispatcher)
Parameters
Type Name Description
Dispatcher dispatcher

The dispatcher.

Properties

View Source

BrowseBugCommand

Gets the command for browsing a bug.

Declaration
public ICommand BrowseBugCommand { get; }
Property Value
Type Description
ICommand
View Source

BugActionCommand

Gets the command for performing an action on a bug.

Declaration
public ICommand BugActionCommand { get; }
Property Value
Type Description
ICommand
View Source

BugActionRegistry

Gets or sets the bug action registry.

Declaration
public BugActionRegistry BugActionRegistry { get; set; }
Property Value
Type Description
BugActionRegistry
View Source

BugInfo

Gets or sets the bug info.

Declaration
public BugInfo BugInfo { get; set; }
Property Value
Type Description
BugInfo
View Source

BugSummary

Gets the bug summary value.

Declaration
public string BugSummary { get; }
Property Value
Type Description
string
View Source

CurrentBugKey

Gets or sets the current bug key.

Declaration
public string CurrentBugKey { get; set; }
Property Value
Type Description
string
View Source

ErrorString

Gets the debug error string to display about the bug action's error.

Declaration
public string ErrorString { get; }
Property Value
Type Description
string
View Source

HasBugInfo

Gets a value indicating whether the bug viewer view model have a bug's info.

Declaration
public bool HasBugInfo { get; }
Property Value
Type Description
bool
View Source

HasError

Gets a value indicating whether a bug action has an error.

Declaration
public bool HasError { get; }
Property Value
Type Description
bool
View Source

HasRegisteredBugActions

Gets a value indicating whether at least one registered BugAction is available in our BugActionRegistry.

Declaration
public bool HasRegisteredBugActions { get; }
Property Value
Type Description
bool
View Source

HasResolvedTokens

Gets a value indicating whether the bug has resolved tokens.

Declaration
public bool HasResolvedTokens { get; }
Property Value
Type Description
bool
View Source

LoadBugCommand

Gets the command for loading a bug.

Declaration
public ICommand LoadBugCommand { get; }
Property Value
Type Description
ICommand
View Source

ResolvedTokens

Gets the resolved tokens.

Declaration
public List<ResolvedToken> ResolvedTokens { get; }
Property Value
Type Description
List<ResolvedToken>
View Source

SharedInfo

Gets or sets the view model shared info.

Declaration
public ViewModelSharedInfo SharedInfo { get; set; }
Property Value
Type Description
ViewModelSharedInfo
View Source

TemplateName

Gets the template name.

Declaration
public string TemplateName { get; }
Property Value
Type Description
string

Methods

View Source

BrowseBugAsync()

Browses to a bug based on it's Uri.

Declaration
public Task BrowseBugAsync()
Returns
Type Description
Task
View Source

CanPerformBugAction(BugAction)

Determines if the action can be performed.

Declaration
public bool CanPerformBugAction(BugAction bugAction)
Parameters
Type Name Description
BugAction bugAction

The bug action to check.

Returns
Type Description
bool

Returns whether the bug action can be performed.

View Source

ResetViewer()

Reset the Bug Viewer (clear out current bug)

Declaration
public void ResetViewer()
View Source

StartFetchBugInfo()

Starts the setup for fetching a bug.

Declaration
public void StartFetchBugInfo()

Implements

INotifyPropertyChanged
  • View Source
In this article
Back to top Generated by DocFX