예제 #1
0
파일: DataPath.cs 프로젝트: eyouyou/Bsc
 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);
 }
예제 #2
0
파일: WorkflowPath.cs 프로젝트: eyouyou/Bsc
        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));
        }
예제 #3
0
파일: WorkflowPath.cs 프로젝트: eyouyou/Bsc
        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);
        }
예제 #4
0
 public BroadcastingPath(Repository repository)
 {
     var repositoryPath = new RepositoryPath(repository);
     this.PhysicalPath = Path.Combine(repositoryPath.PhysicalPath, DIR);
 }
예제 #5
0
파일: WorkflowPath.cs 프로젝트: eyouyou/Bsc
        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);
        }
예제 #6
0
파일: SearchDir.cs 프로젝트: eyouyou/Bsc
 public static string GetBasePhysicalPath(Repository repository)
 {
     var repositoryPath = new RepositoryPath(repository);
     return Path.Combine(repositoryPath.PhysicalPath, SearchDir.DirName);
 }