Beispiel #1
0
 /// <summary>
 /// Instantiates the PublishController
 /// </summary>
 public PublishController(IPublishQueueService publishQueueService, IUserService userService, IRepositoryService repositoryService, IFileServiceFactory fileServiceFactory)
     : base()
 {
     diagnostics = new DiagnosticsProvider(this.GetType());
     this.publishQueueService = publishQueueService;
     this.userService = userService;
     this.repositoryService = repositoryService;
     this.fileServiceFactory = fileServiceFactory;
     this.user = IdentityHelper.GetCurrentUser(this.userService, this.User as ClaimsPrincipal);
 }
Beispiel #2
0
 /// <summary>
 /// Instantiates the PublishController
 /// </summary>
 public PublishController(IPublishQueueService publishQueueService, IUserService userService, IRepositoryService repositoryService, IFileServiceFactory fileServiceFactory)
     : base()
 {
     diagnostics = new DiagnosticsProvider(this.GetType());
     this.publishQueueService = publishQueueService;
     this.userService         = userService;
     this.repositoryService   = repositoryService;
     this.fileServiceFactory  = fileServiceFactory;
     this.user = IdentityHelper.GetCurrentUser(this.userService, this.User as ClaimsPrincipal);
 }