Show / Hide Table of Contents

Class ArubaCommandItemViewModel

Contains logic for an ArubaCommand item.

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

Constructors

View Source

ArubaCommandItemViewModel(ArubaCommand, string)

Initializes a new instance of the ArubaCommandItemViewModel class.

Declaration
public ArubaCommandItemViewModel(ArubaCommand command, string parameters)
Parameters
Type Name Description
ArubaCommand command

The associated ArubaCommand.

string parameters

The parameters for this ArubaCommand.

Properties

View Source

Command

Gets or sets the ArubaCommand associated with this view model.

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

IsInvalid

Gets a value indicating whether this ArubaCommand is invalid.

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

Parameters

Gets or sets the parameter string for the associated ArubaCommand.

Declaration
public string Parameters { get; set; }
Property Value
Type Description
string

Methods

View Source

CanExecute(IGameClient)

A wrapper around the ArubaCommands CanExecute method.

Declaration
public bool CanExecute(IGameClient gameClient)
Parameters
Type Name Description
IGameClient gameClient

The IGameClient to use.

Returns
Type Description
bool

Whether the ArubaCommand can execute.

View Source

ExecuteAsync(IGameClient)

A wrapper around the ArubaCommands Execute method.

Declaration
public Task ExecuteAsync(IGameClient gameClient)
Parameters
Type Name Description
IGameClient gameClient

The IGameClient to use.

Returns
Type Description
Task

A Task.

Implements

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