init
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IDBViewModel : IBaseViewModel
|
||||
{
|
||||
IDBImportView ImportView { get; set; }
|
||||
IDBExportView ExportView { get; set; }
|
||||
/// <summary>
|
||||
/// file name to import from
|
||||
/// we may not need this in the viewmodel if the viewmodel is capable of doing all the operations it needs to do
|
||||
/// but for now I leave it here so it can be initialized
|
||||
/// </summary>
|
||||
string ImportFileName { get; set; }
|
||||
string ImportStatusText { get; set; }
|
||||
/// <summary>
|
||||
/// file name to export to
|
||||
/// same caveat as above
|
||||
/// </summary>
|
||||
string ExportFileName { get; set; }
|
||||
/// <summary>
|
||||
/// for now this is formatted xml string to write to the file
|
||||
/// </summary>
|
||||
string ExportData { get; set; }
|
||||
/// <summary>
|
||||
/// for now this is the formatted xml string read from the file
|
||||
/// </summary>
|
||||
string ImportData { get; set; }
|
||||
/// <summary>
|
||||
/// Exports ExportData to ExportFileName
|
||||
/// </summary>
|
||||
void Export();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user