Show / Hide Table of Contents

Class TokenSelectorViewModel

Represents the TokenSelector view model.

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

Constructors

View Source

TokenSelectorViewModel(TokenResolverRegistry)

Initializes a new instance of the TokenSelectorViewModel class.

Declaration
public TokenSelectorViewModel(TokenResolverRegistry tokenResolverRegistry)
Parameters
Type Name Description
TokenResolverRegistry tokenResolverRegistry

The token resolver registry

Properties

View Source

FilterString

Gets or sets the filter string used to filter the tokens.

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

SelectTokenAction

Gets or sets the underlying interface that a token has been selected.

Declaration
public Action<TokenReference> SelectTokenAction { get; set; }
Property Value
Type Description
Action<TokenReference>
View Source

SelectedToken

Gets or sets the token that is selected from the list or the new token that is created.

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

TokenResolverRegistry

Gets the registry of resolvers.

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

Tokens

Gets the list of tokens.

Declaration
public List<TokenReferenceViewModel> Tokens { get; }
Property Value
Type Description
List<TokenReferenceViewModel>

Methods

View Source

FinalizeSelection()

Select the current token from the list box and closes the control.

Declaration
public bool FinalizeSelection()
Returns
Type Description
bool

Whether the token was selected.

Implements

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