Show / Hide Table of Contents

Class ArubaCommandRegistry

A registry of ArubaCommand instances.

Inheritance
object
BindableBase
ArubaCommandRegistry
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 ArubaCommandRegistry : BindableBase, INotifyPropertyChanged

Constructors

View Source

ArubaCommandRegistry()

Initializes a new instance of the ArubaCommandRegistry class.

Declaration
public ArubaCommandRegistry()

Properties

View Source

RegisteredArubaCommands

Gets the currently registered ArubaCommands for the currently selected title.

Declaration
public IReadOnlyList<ArubaCommand> RegisteredArubaCommands { get; }
Property Value
Type Description
IReadOnlyList<ArubaCommand>

Methods

View Source

GetArubaCommandFromRegistry(string, string)

Given a title and the friendly name, gets the corresponding ArubaCommand from the registry.

Declaration
public ArubaCommand GetArubaCommandFromRegistry(string title, string friendlyName)
Parameters
Type Name Description
string title

The title this ArubaCommand belongs to.

string friendlyName

The ArubaCommand's friendly name.

Returns
Type Description
ArubaCommand

The ArubaCommand.

View Source

GetHashedArubaCommandName(string, ArubaCommand)

Gets the hashed name of a ArubaCommand.

Declaration
public static string GetHashedArubaCommandName(string title, ArubaCommand arubaCommand)
Parameters
Type Name Description
string title

The title this ArubaCommand belongs to.

ArubaCommand arubaCommand

The ArubaCommand.

Returns
Type Description
string

The hashed ArubaCommand name.

View Source

GetHashedArubaCommandName(string, string)

Gets the hashed name of a ArubaCommand.

Declaration
public static string GetHashedArubaCommandName(string title, string arubaCommandFriendlyName)
Parameters
Type Name Description
string title

The title this ArubaCommand belongs to.

string arubaCommandFriendlyName

The ArubaCommand's friendly name.

Returns
Type Description
string

The hashed ArubaCommand name.

View Source

RegisterArubaCommand(string, ArubaCommand)

Register a ArubaCommand

Declaration
public void RegisterArubaCommand(string title, ArubaCommand arubaCommand)
Parameters
Type Name Description
string title

The title to register the ArubaCommand with.

ArubaCommand arubaCommand

The ArubaCommand to register.

View Source

RegisterArubaCommands(string, IEnumerable<ArubaCommand>)

Utility to register multiple ArubaCommands in a single call.

Declaration
public void RegisterArubaCommands(string title, IEnumerable<ArubaCommand> arubaCommands)
Parameters
Type Name Description
string title

The title to register the ArubaCommands for.

IEnumerable<ArubaCommand> arubaCommands

The ArubaCommands to register.

View Source

UnregisterArubaCommand(string, string)

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

Declaration
public void UnregisterArubaCommand(string title, string arubaCommandFriendlyName)
Parameters
Type Name Description
string title

The title this ArubaCommand is for.

string arubaCommandFriendlyName

The friendly name of the ArubaCommand to remove.

View Source

UnregisterArubaCommandsForTitle(string)

Unregister all registered ArubaCommands for the given title.

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

The title that should have their ArubaCommands removed.

Implements

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