public BuiltInCommandManager(IXmlOperations xmlOperations, string builtInCommandPath,
                              string applicationStartupPath)
 {
     _xmlOperations      = xmlOperations;
     builtInCommandPath  = applicationStartupPath + "\\" + builtInCommandPath;
     _builtInCommandPath = builtInCommandPath;
     BuiltInCommandDT    = _xmlOperations.GetXml(builtInCommandPath);
 }
Ejemplo n.º 2
0
 public ProfileManager(IXmlOperations xmlOperations, string profileFilePath,
                       string applicationStartupPath)
 {
     _xmlOperations = xmlOperations;
     //TODO parallel reading
     profileFilePath  = applicationStartupPath + "\\" + profileFilePath;
     _profileFilePath = profileFilePath;
     ProfilesDT       = _xmlOperations.GetXml(profileFilePath);
 }
Ejemplo n.º 3
0
 public CommandManager(IXmlOperations xmlOperations, string profileFilePath,
                       string customCommandsFilePath, string builtInComandsFilePath, string applicationStartupPath)
 {
     _xmlOperations         = xmlOperations;
     _profileManager        = new ProfileManager(profileFilePath, applicationStartupPath);
     _builtInCommandManager = new BuiltInCommandManager(builtInComandsFilePath, applicationStartupPath);
     //TODO parallel reading
     _customCommandsFilePath = Utilities.GetXmlPath(customCommandsFilePath, applicationStartupPath);
     CustomCommandsDT        = _xmlOperations.GetXml(_customCommandsFilePath);
 }
Ejemplo n.º 4
0
 public IeImportController(IXmlOperations xmlOperations)
 {
     this.xmlOperations = xmlOperations;
 }