Beispiel #1
0
 public void UpdateRevision(bool refreshExportName)
 {
     sheetRevision = sheet.get_Parameter(
         BuiltInParameter.SHEET_CURRENT_REVISION).AsString();
     sheetRevisionDescription = sheet.get_Parameter(
         BuiltInParameter.SHEET_CURRENT_REVISION_DESCRIPTION).AsString();
     sheetRevisionDate = sheet.get_Parameter(
         BuiltInParameter.SHEET_CURRENT_REVISION_DATE).AsString();
     sheetRevisionDateTime = MiscUtilities.ToDateTime(sheetRevisionDate);
     if (refreshExportName)
     {
         SetExportName();
     }
     NotifyPropertyChanged(nameof(SheetRevision));
     NotifyPropertyChanged(nameof(SheetRevisionDescription));
     NotifyPropertyChanged(nameof(SheetRevisionDate));
     NotifyPropertyChanged(nameof(FullExportName));
 }