public DataPath(string repositoryName) { var repository = new Repository(repositoryName); var repositoryPath = new RepositoryPath(repository); this.PhysicalPath = Path.Combine(repositoryPath.PhysicalPath, DirName); this.VirtualPath = UrlUtility.Combine(repositoryPath.VirtualPath, DirName); }
public PendingWorkflowItemPath(PendingWorkflowItem pendingWorkflowItem) { var repositoryPath = new RepositoryPath(pendingWorkflowItem.Repository); this.PhysicalPath = SettingFile = Path.Combine(repositoryPath.PhysicalPath, PATH_NAME, pendingWorkflowItem.RoleName, GetFileName(pendingWorkflowItem)); this.VirtualPath = UrlUtility.Combine(repositoryPath.VirtualPath, PATH_NAME, pendingWorkflowItem.RoleName, GetFileName(pendingWorkflowItem)); }
public PendingWorkflowItemPath(Repository repository, string roleName) { var repositoryPath = new RepositoryPath(repository); PhysicalPath = Path.Combine(repositoryPath.PhysicalPath, PATH_NAME, roleName); VirtualPath = UrlUtility.Combine(repositoryPath.VirtualPath, PATH_NAME, roleName); Bsc.Dmtds.Common.IO.IOUtility.EnsureDirectoryExists(PhysicalPath); }
public BroadcastingPath(Repository repository) { var repositoryPath = new RepositoryPath(repository); this.PhysicalPath = Path.Combine(repositoryPath.PhysicalPath, DIR); }
public WorkflowPath(Repository repository) { var repositoryPath = new RepositoryPath(repository); PhysicalPath = Path.Combine(repositoryPath.PhysicalPath, PATH_NAME); VirtualPath = UrlUtility.Combine(repositoryPath.VirtualPath, PATH_NAME); Bsc.Dmtds.Common.IO.IOUtility.EnsureDirectoryExists(PhysicalPath); }
public static string GetBasePhysicalPath(Repository repository) { var repositoryPath = new RepositoryPath(repository); return Path.Combine(repositoryPath.PhysicalPath, SearchDir.DirName); }