Show / Hide Table of Contents

Class TokenExplorerViewModel

View model for the "token explorer" view.

Inheritance
object
BindableBase
TokenExplorerViewModel
Implements
INotifyPropertyChanged
ITreeNodeDynastyProvider
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 TokenExplorerViewModel : BindableBase, INotifyPropertyChanged, ITreeNodeDynastyProvider

Constructors

View Source

TokenExplorerViewModel(Dispatcher)

Initializes a new instance of the TokenExplorerViewModel class.

Declaration
public TokenExplorerViewModel(Dispatcher dispatcher)
Parameters
Type Name Description
Dispatcher dispatcher

The dispatcher.

Properties

View Source

CurrentPropertyVMs

Gets the current property view models

Declaration
public List<TokenDefinitionPropertyViewModel>? CurrentPropertyVMs { get; }
Property Value
Type Description
List<TokenDefinitionPropertyViewModel>
View Source

HasProperties

Gets a value indicating whether the VM has properties.

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

HasUnsavedChanges

Gets a value indicating whether the token explorer has unsaved changes

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

ResolverVMs

Gets the collection of TokenResolverViewModels.

Declaration
public List<TokenResolverViewModel> ResolverVMs { get; }
Property Value
Type Description
List<TokenResolverViewModel>
View Source

RevertAllTokenDefinitionsCommand

Gets the revert all token definitions command.

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

SaveAllTokenDefinitionsCommand

Gets the save all token definitions command.

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

SelectedDefinitionVM

Gets the selected token definition.

Declaration
public TokenDefinitionViewModel? SelectedDefinitionVM { get; }
Property Value
Type Description
TokenDefinitionViewModel
View Source

SelectedResolverVM

Gets the selected token resolver

Declaration
public TokenResolverViewModel? SelectedResolverVM { get; }
Property Value
Type Description
TokenResolverViewModel
View Source

SelectedTreeNode

Gets or sets the selected tree node

Declaration
public BindableBase? SelectedTreeNode { get; set; }
Property Value
Type Description
BindableBase
View Source

SharedInfo

Gets or sets the view model shared info.

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

TokenDynastyProvider

Gets the token dynasty provider

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

TokenResolverRegistry

Sets the TokenResolverRegistry

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

UpdateTokenDefinitionCommand

Gets the update token definition command.

Declaration
public DelegateCommand UpdateTokenDefinitionCommand { get; }
Property Value
Type Description
DelegateCommand

Methods

View Source

GetTreeNodeDynasty(object)

Returns the tree node dynasty for templates: a list of all template's parents plus the template itself. The root parent has index 0, the last item in the list is the template itself.

Declaration
public IList? GetTreeNodeDynasty(object node)
Parameters
Type Name Description
object node

The template for which a dynasty is returned.

Returns
Type Description
IList

The dynasty for the specified template.

Implements

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