Пример #1
0
 /// <summary>
 /// if paths is null, search from metadata folder.
 /// </summary>
 public Jp2KrTranslationVM(RegexDotConfiguration dot, string[]?paths = null)
 {
     dotConfig    = dot;
     translations = paths?.SelectMany(p => WalkForSources(p))?.ToList();
     Progress     = new LabelProgressVM();
     Faults       = new ObservableCollection <ILabelProgressVM>();
     Ongoings     = new ObservableCollection <ILabelProgressVM>();
 }
Пример #2
0
 public TranslationUnit(RegexDotConfiguration dot, ManagedPath workspace)
 {
     DotConfig = dot;
     Workspace = workspace;
 }