Show / Hide Table of Contents

Class BugActionRegistry

A registry of ITokenResolver instances.

Inheritance
object
BindableBase
BugActionRegistry
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: Microsoft.Internal.Studios.Aruba.Infrastructure
Assembly: Aruba.Infrastructure.dll
Syntax
public class BugActionRegistry : BindableBase, INotifyPropertyChanged

Constructors

View Source

BugActionRegistry()

Initializes a new instance of the BugActionRegistry class.

Declaration
public BugActionRegistry()

Properties

View Source

RegisteredActions

Gets the currently registered actions for the currently selected title.

Declaration
public IReadOnlyList<BugAction> RegisteredActions { get; }
Property Value
Type Description
IReadOnlyList<BugAction>

Methods

View Source

GetHashedActionName(string, BugAction)

Gets the hashed name of an action.

Declaration
public static string GetHashedActionName(string title, BugAction action)
Parameters
Type Name Description
string title

The title this action belongs to.

BugAction action

The action.

Returns
Type Description
string

The hashed action named.

View Source

GetHashedActionName(string, string)

Gets the hashed name of an action.

Declaration
public static string GetHashedActionName(string title, string actionFriendlyName)
Parameters
Type Name Description
string title

The title this action belongs to.

string actionFriendlyName

The action's friendly name.

Returns
Type Description
string

The hashed action named.

View Source

RegisterAction(string, BugAction)

Register a BugAction

Declaration
public void RegisterAction(string title, BugAction action)
Parameters
Type Name Description
string title

The title to register the action with.

BugAction action

The action to register.

View Source

RegisterActions(string, IEnumerable<BugAction>)

Utility to register multiple BugActions in a single call.

Declaration
public void RegisterActions(string title, IEnumerable<BugAction> actions)
Parameters
Type Name Description
string title

The title to register the actions for.

IEnumerable<BugAction> actions

The actions to register.

View Source

UnregisterAction(string, string)

Unregister the BugAction with the given name for the given title.

Declaration
public void UnregisterAction(string title, string actionFriendlyName)
Parameters
Type Name Description
string title

The title this action is for.

string actionFriendlyName

The friendly name of the action to remove.

View Source

UnregisterActionsForTitle(string)

Unregister all registered Bug Actions for the given title.

Declaration
public void UnregisterActionsForTitle(string title)
Parameters
Type Name Description
string title

The title that should have their actions removed.

Implements

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