public DataEntityStorageImpl() { this.entityDirPath = FilePathUtility.GetFullPath(entityDir); //this.entityDirPath = Path.Combine(Global.DriveLetter, entityDir); this.entityMetadataFilepath = Path.Combine(this.entityDirPath, filename); }
private static void EnsurePreHostRunning() { Process[] p = Process.GetProcessesByName(Path.GetFileNameWithoutExtension(preHostPath)); if (p.Length == 0) { Logger.LogInfo("Pre 32bit process was not found. Starting it..."); ProcessStartInfo psi = new ProcessStartInfo(FilePathUtility.GetFullPath(preHostPath)); Process dllHost = Process.Start(psi); Thread.Sleep(5000); // give process time to start } }
public UserMetadataStorageImpl() { this.path = FilePathUtility.GetFullPath(filename); //this.path = Path.Combine(Global.DriveLetter, filename); }
public Storage() { this.entityDirPath = FilePathUtility.GetFullPath(entityDir); this.metadataFilepath = Path.Combine(this.entityDirPath, filename); }