public static string GetModuleDirectory(Assembly moduleAssembly) { return(ApplicationPath.EnsureExisted(Path.Combine(ModuleDirectory, moduleAssembly.GetName().Name))); }
public static string GetRepositoryDataDirectory(IRepository repository) { return(ApplicationPath.EnsureExisted(Path.Combine(ApplicationPath.GetRepositoryDirectory(repository), DataDirectoryName))); }
public static string GetRepositoryDataFile(IRepository repository, string filename) { return(Path.Combine(ApplicationPath.GetRepositoryDataDirectory(repository), filename)); }
public static string GetRepositoryDirectory(IRepository repository) { return(ApplicationPath.EnsureExisted(Path.Combine(RepositoryDirectory, ApplicationPath.GetRepositoryDirectoryID(repository)))); }