public vClient(string w) { vConsoleDebug.debugMessage("client run"); this.vWorkCatalog = new vCatalog(w); }
public vClient() { vConsoleDebug.debugMessage("client run"); this.vWorkCatalog = new vCatalog("C:\\vEEE\\WC"); }
public vServer(string r, string f) { vConsoleDebug.debugMessage("server run"); vRepositoryCatalog = new vCatalog(r); vFinalCatalog = new vCatalog(f); }
public static bool setRepositoryPath() { Regex re = new Regex("conf.rep (?<rep>.*)"); Match match; match = re.Match(vConsole.vLastCommand); if (match.Success) { if (Directory.Exists(match.Groups["rep"].Value)) { vRepositoryCatalog = new vCatalog(match.Groups["rep"].Value); vConsoleDebug.debugMessage("repository catalog was changed on " + match.Groups["rep"].Value); return true; } else { vConsoleDebug.debugMessage("path \"" + match.Groups["rep"].Value + "\" does not exist"); } } return false; ; }
public vServer() { vConsoleDebug.debugMessage("server run"); if (vIniResource.vIniParameters.ContainsKey("vIniServerRepositoryPath")) vRepositoryCatalog = new vCatalog(vIniResource.vIniParameters["vIniServerRepositoryPath"]); if (vIniResource.vIniParameters.ContainsKey("vIniServerFinalPath")) vFinalCatalog = new vCatalog(vIniResource.vIniParameters["vIniServerFinalPath"]); }