Show / Hide Table of Contents

Class TokenActivatorViewModel

Represents the TokenActivator view model.

Inheritance
object
BindableBase
TokenActivatorViewModel
Implements
INotifyPropertyChanged
IDataErrorInfo
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 TokenActivatorViewModel : BindableBase, INotifyPropertyChanged, IDataErrorInfo

Constructors

View Source

TokenActivatorViewModel()

Initializes a new instance of the TokenActivatorViewModel class.

Declaration
public TokenActivatorViewModel()

Properties

View Source

CurrentBugDevices

Gets the collection of devices associated with this bug.

Declaration
public ObservableCollection<IGameDevice> CurrentBugDevices { get; }
Property Value
Type Description
ObservableCollection<IGameDevice>
View Source

Error

Gets or sets the current error.

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

FieldsViewModel

Gets or sets the BugInfo object backing the view's tokens.

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

HasTokens

Gets a value indicating whether there are tokenized items.

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

this[string]

Gets the error message for the property with the given name.

Declaration
public string this[string columnName] { get; }
Parameters
Type Name Description
string columnName

The name of the column to validate.

Property Value
Type Description
string

The error message for the property. The default is an empty string ("").

View Source

ResolveAllCommand

Gets the command to resolve all tokenized items.

Declaration
public AsyncDelegateCommand ResolveAllCommand { get; }
Property Value
Type Description
AsyncDelegateCommand
View Source

ResolveForDeviceCommand

Gets the command for resolving tokens on a specific device.

Declaration
public AsyncDelegateCommand<IGameDevice> ResolveForDeviceCommand { get; }
Property Value
Type Description
AsyncDelegateCommand<IGameDevice>
View Source

SharedInfo

Gets or sets the view model shared info.

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

ShowResolveForDeviceUI

Gets a value indicating whether to show the 'Resolve for Device' UI.

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

TokenResolverRegistry

Gets or sets access to the TokenResolverRegistry

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

TokenizedItems

Gets the collection of TokenizedItem wrappers.

Declaration
public ObservableCollection<TokenizedItemViewModel> TokenizedItems { get; }
Property Value
Type Description
ObservableCollection<TokenizedItemViewModel>

Methods

View Source

ForceFieldDataRefresh()

Forces a refresh of the field related data.

Declaration
public void ForceFieldDataRefresh()
View Source

ResolveAllFieldsAsync()

Resolves all fields asynchronously.

Declaration
public Task<bool> ResolveAllFieldsAsync()
Returns
Type Description
Task<bool>

Whether the tokens resolved successfully.

View Source

ResolveAllFieldsOnSpecificDevicesAsync(List<IGameDevice>)

Resolves all fields on the given list of devices.

Declaration
public Task<bool> ResolveAllFieldsOnSpecificDevicesAsync(List<IGameDevice> devices)
Parameters
Type Name Description
List<IGameDevice> devices

The devices to resolve fields on.

Returns
Type Description
Task<bool>

Whether the operation performed successfully.

View Source

ResolveFieldsAsync(IList<TokenizedItemViewModel>)

Resolves all fields asynchronously.

Declaration
public Task<bool> ResolveFieldsAsync(IList<TokenizedItemViewModel> tokensToResolve)
Parameters
Type Name Description
IList<TokenizedItemViewModel> tokensToResolve

The set of tokens to resolve.

Returns
Type Description
Task<bool>

Whether the tokens resolved successfully.

View Source

SetSkipResolveState(bool)

Sets whether to skip resolving fields.

Declaration
public void SetSkipResolveState(bool skipResolve)
Parameters
Type Name Description
bool skipResolve

Whether to skip the resolving step.

Implements

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