static private getEntitasProjectDir ( ) : string | ||
Результат | string |
static string getEntitasProjectDir()
{
var dirInfo = new DirectoryInfo(Directory.GetCurrentDirectory());
const string projectName = "Tests";
while(dirInfo.Name != projectName) {
dirInfo = dirInfo.Parent;
}
return dirInfo.Parent.FullName;
}