示例#1
0
 public ApplicationsController(IApplicationService applicationService, IGroupRelationshipService groupRelationshipService, IStorageService storageService, IBuildService buildService, IUserService userService)
 {
     this.applicationService       = applicationService;
     this.groupRelationshipService = groupRelationshipService;
     this.storageService           = storageService;
     this.buildService             = buildService;
     this.userService = userService;
 }
示例#2
0
        public FileService(IApplicationService applicationService, IBuildService buildService, IGroupService groupService, IGroupRelationshipService groupRelationshipService)
	    {
            this.applicationService = applicationService;
            this.BuildService = buildService;
            this.groupRelationshipService = groupRelationshipService;
            this.groupService = groupService;


            var rootDir = "";
            applicationDirectoires = Directory.GetDirectories(rootDir).Select(b => b.ToLower()).ToList();
	    }
示例#3
0
        public FileService(IApplicationService applicationService, IBuildService buildService, IGroupService groupService, IGroupRelationshipService groupRelationshipService)
        {
            this.applicationService       = applicationService;
            this.BuildService             = buildService;
            this.groupRelationshipService = groupRelationshipService;
            this.groupService             = groupService;


            //var rootDir = HostingEnvironment.MapPath("http://jenkins.weeworld.local/");
            //var rootDir = HostingEnvironment.MapPath("\\builds\\");
            var rootDir = "";

            applicationDirectoires = Directory.GetDirectories(rootDir).Select(b => b.ToLower()).ToList();
        }
示例#4
0
 public UsersController(IUserService userService, IGroupRelationshipService groupRelationshipService)
 {
     this.userService = userService;
     this.groupRelationshipService = groupRelationshipService;
 }
示例#5
0
 public GroupsController(IGroupService groupService, IGroupRelationshipService groupRelationshipService)
 {
     this.groupService             = groupService;
     this.groupRelationshipService = groupRelationshipService;
 }