示例#1
0
 public ImageFileViewModel(
     DataReference rawDataReference,
     IObjectDatabase <ShortId> shortIdDatabase,
     IDataApiClient dataApiClient)
 {
     ShortIdEditViewModel = new ShortIdEditViewModel(rawDataReference, shortIdDatabase, dataApiClient);
 }
示例#2
0
 public CsvFileViewModel(
     DataReference csvDataReference,
     Table <string> data,
     IObjectDatabase <ShortId> shortIdDatabase,
     IDataApiClient dataApiClient)
 {
     Data = CreateDataGridColumns(data);
     ShortIdEditViewModel = new ShortIdEditViewModel(csvDataReference, shortIdDatabase, dataApiClient);
 }