public virtual DatabaseLayout DatabaseLayout(string name) { DatabaseLayout databaseLayout = _storeLayout.databaseLayout(name); CreateDirectory(databaseLayout.DatabaseDirectory()); return(databaseLayout); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public void prepareDirectory(Class testClass, String test) throws java.io.IOException public virtual void PrepareDirectory(Type testClass, string test) { if (_owningTest == null) { _owningTest = testClass; } if (string.ReferenceEquals(test, null)) { test = "static"; } _testDirectory = PrepareDirectoryForTest(test); _storeLayout = StoreLayout.of(_testDirectory); _defaultDatabaseLayout = _storeLayout.databaseLayout(DEFAULT_DATABASE_DIRECTORY); }