Exemplo n.º 1
0
 public TestEnvironment()
 {
     _id = Guid.NewGuid().ToString().Substring(0, 8);
     _root = Path.GetDirectoryName(this.GetType().Assembly.Location);
     _tempDir = Path.Combine(_root, _id);
     Directory.CreateDirectory(_tempDir);
     _xRepoEnvironment = XRepoEnvironment.ForDirectory(XRepoConfigDir);
 }
Exemplo n.º 2
0
 public void Reload()
 {
     _xRepoEnvironment = XRepoEnvironment.ForDirectory(XRepoConfigDir);
 }