Class OverwriteCopyDataPopupViewModel
The view model class that handles the logic for notifying the user about data that will be overwritten, and giving them the option to rename that data.
Implements
Inherited Members
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class OverwriteCopyDataPopupViewModel : BindableBase, INotifyPropertyChanged
Constructors
View SourceOverwriteCopyDataPopupViewModel(IEnumerable<IRenameableData>, string)
Initializes a new instance of the OverwriteCopyDataPopupViewModel class.
Declaration
public OverwriteCopyDataPopupViewModel(IEnumerable<IRenameableData> dataToOverwrite, string typeOfData)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IRenameableData> | dataToOverwrite | The data that would be overwritten by the deployment operation. |
string | typeOfData | The name of the type of data being overwritten that will be displayed. |
Properties
View SourceDataThatWillBeOverwritten
Gets the data that would be overwritten.
Declaration
public ObservableCollection<IRenameableData> DataThatWillBeOverwritten { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<IRenameableData> |
DataToRename
Gets the existing data and the new name for that data.
Declaration
public ObservableCollection<RenameDataModel> DataToRename { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<RenameDataModel> |
ExplanationText
Gets the text that explains what to do on the view.
Declaration
public string ExplanationText { get; }
Property Value
Type | Description |
---|---|
string |
TotalOverwritingDataText
Gets the text that shows how much data the user would overwrite by saving.
Declaration
public string TotalOverwritingDataText { get; }
Property Value
Type | Description |
---|---|
string |