Class AutoSaverUnsavedChangesModalViewModel
View Model to manage auto-saver backups.
Inherited Members
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class AutoSaverUnsavedChangesModalViewModel : BindableBase, INotifyPropertyChanged, IAutoSaverUnsavedChangesModalViewModel
Constructors
View SourceAutoSaverUnsavedChangesModalViewModel(IAutoSaver, IPhoenixLogger, IEventAggregator)
Declaration
public AutoSaverUnsavedChangesModalViewModel(IAutoSaver autoSaver, IPhoenixLogger logger, IEventAggregator eventAggregator)
Parameters
| Type | Name | Description |
|---|---|---|
| IAutoSaver | autoSaver | |
| IPhoenixLogger | logger | |
| IEventAggregator | eventAggregator |
Properties
View SourceAvailableBackupDocuments
Gets the list of available backups.
Declaration
public ObservableCollection<IBackupDocument> AvailableBackupDocuments { get; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<IBackupDocument> |
DeleteAllCommand
Gets the restore all command.
Declaration
public ICommand DeleteAllCommand { get; }
Property Value
| Type | Description |
|---|---|
| ICommand |
DeleteCommand
Gets the delete command.
Declaration
public ICommand DeleteCommand { get; }
Property Value
| Type | Description |
|---|---|
| ICommand |
HasAutoSaverTempFiles
Gets or sets a value indicating whether we should show the auto-saver unsaved changes modal.
Declaration
public bool HasAutoSaverTempFiles { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
RestoreAllCommand
Gets the restore all command.
Declaration
public ICommand RestoreAllCommand { get; }
Property Value
| Type | Description |
|---|---|
| ICommand |
RestoreCommand
Gets the restore command.
Declaration
public ICommand RestoreCommand { get; }
Property Value
| Type | Description |
|---|---|
| ICommand |