Ejemplo n.º 1
0
 public AutoDossierEngine(
     MainSettings mainSettings,
     FileSchema fileSchema,
     ViewModels.FolderSchemaViewModel parent,
     String log)
 {
     _log          = log;
     _mainSettings = mainSettings;
     _fileSchema   = fileSchema;
     _isActive     = false;
     _parent       = parent;
 }
Ejemplo n.º 2
0
 public void Copy(FolderSchema model)
 {
     Tag   = model.Tag;
     Value = model.Value;
     Data.Copy(model.Data);
     Children = new ObservableCollection <XmlAnything <ISchema> >();
     foreach (XmlAnything <ISchema> schema in model.Children)
     {
         if (typeof(FolderSchema) == schema.Value.GetType())
         {
             FolderSchema tmp = new FolderSchema();
             tmp.Copy(schema.Value as FolderSchema);
             Children.Add(new XmlAnything <ISchema>(tmp));
         }
         if (typeof(FileSchema) == schema.Value.GetType())
         {
             FileSchema tmp = new FileSchema();
             tmp.Copy(schema.Value as FileSchema);
             Children.Add(new XmlAnything <ISchema>(tmp));
         }
     }
 }
Ejemplo n.º 3
0
 public void Copy(FileSchema model)
 {
     Tag   = model.Tag;
     Value = model.Value;
     Data.Copy(model.Data);
 }
Ejemplo n.º 4
0
 public FileSchema(FileSchema model)
 {
     Tag   = model.Tag;
     Value = model.Value;
     Data  = model.Data;
 }