Interface ITemplateExplorerViewModel
View model representing the list of templates.
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public interface ITemplateExplorerViewModel
Properties
View SourceAccessLevel
Gets or sets the access level of the user to determine what commands they have access to.
Declaration
AccessLevel AccessLevel { get; set; }
Property Value
Type | Description |
---|---|
AccessLevel |
EventAggregator
Gets the Prism.Events.IEventAggregator to use to publish and subscribe to view-related events.
Declaration
IEventAggregator EventAggregator { get; }
Property Value
Type | Description |
---|---|
IEventAggregator |
HasUnsavedChanges
Gets a value indicating whether any template has unsaved changes.
Declaration
bool HasUnsavedChanges { get; }
Property Value
Type | Description |
---|---|
bool |
IsSelectedTemplateValid
Gets a value indicating whether the selected template is valid.
Declaration
bool IsSelectedTemplateValid { get; }
Property Value
Type | Description |
---|---|
bool |
SelectedTemplateNode
Gets or sets the selected template node.
Declaration
TemplateViewModel SelectedTemplateNode { get; set; }
Property Value
Type | Description |
---|---|
TemplateViewModel |
SharedInfo
Gets or sets the shared info view model.
Declaration
ViewModelSharedInfo SharedInfo { get; set; }
Property Value
Type | Description |
---|---|
ViewModelSharedInfo |
TemplateTreeItems
Gets the template tree items.
Declaration
ObservableCollection<TemplateTreeItemViewModel> TemplateTreeItems { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<TemplateTreeItemViewModel> |
TemplateVMs
Gets the list of templates.
Declaration
ObservableCollection<TemplateViewModel> TemplateVMs { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<TemplateViewModel> |
Methods
View SourceReadTemplateDefinitionsAsync()
Read all template definitions from the store location.
Declaration
Task ReadTemplateDefinitionsAsync()
Returns
Type | Description |
---|---|
Task | A Task representing the asynchronous operation. |
UpdateGlobalTemplateList()
Updates the global template list with the cached template tree items.
Declaration
void UpdateGlobalTemplateList()