public MarkReleaseAsHigherLevelReviewAuthorizationHandler(IReleasePublishingStatusRepository releasePublishingStatusRepository,
                                                           IUserPublicationRoleRepository userPublicationRoleRepository,
                                                           IUserReleaseRoleRepository userReleaseRoleRepository) : base(releasePublishingStatusRepository,
                                                                                                                        userPublicationRoleRepository,
                                                                                                                        userReleaseRoleRepository)
 {
 }
 public MarkReleaseAsDraftAuthorizationHandler(IReleasePublishingStatusRepository releasePublishingStatusRepository,
                                               IUserPublicationRoleRepository userPublicationRoleRepository,
                                               IUserReleaseRoleRepository userReleaseRoleRepository) : base(releasePublishingStatusRepository,
                                                                                                            userPublicationRoleRepository,
                                                                                                            userReleaseRoleRepository)
 {
 }
Beispiel #3
0
 private static MarkReleaseAsApprovedAuthorizationHandler BuildMarkReleaseAsApprovedHandler(
     IReleasePublishingStatusRepository releasePublishingStatusRepository,
     IUserPublicationRoleRepository userPublicationRoleRepository,
     IUserReleaseRoleRepository userReleaseRoleRepository)
 {
     return(new MarkReleaseAsApprovedAuthorizationHandler(releasePublishingStatusRepository, userPublicationRoleRepository,
                                                          userReleaseRoleRepository));
 }
Beispiel #4
0
 private static MarkReleaseAsHigherLevelReviewAuthorizationHandler BuildMarkReleaseAsHigherLevelReviewHandler(
     IReleasePublishingStatusRepository releasePublishingStatusRepository,
     IUserPublicationRoleRepository userPublicationRoleRepository,
     IUserReleaseRoleRepository userReleaseRoleRepository)
 {
     return(new MarkReleaseAsHigherLevelReviewAuthorizationHandler(releasePublishingStatusRepository, userPublicationRoleRepository,
                                                                   userReleaseRoleRepository));
 }
 protected ReleaseStatusAuthorizationHandler(IReleasePublishingStatusRepository releasePublishingStatusRepository,
                                             IUserPublicationRoleRepository userPublicationRoleRepository,
                                             IUserReleaseRoleRepository userReleaseRoleRepository)
 {
     _releasePublishingStatusRepository = releasePublishingStatusRepository;
     _userPublicationRoleRepository     = userPublicationRoleRepository;
     _userReleaseRoleRepository         = userReleaseRoleRepository;
 }
 public UpdateSpecificReleaseAuthorizationHandler(IReleasePublishingStatusRepository releasePublishingStatusRepository,
                                                  IUserPublicationRoleRepository publicationRoleRepository,
                                                  IUserReleaseRoleRepository releaseRoleRepository)
 {
     _releasePublishingStatusRepository = releasePublishingStatusRepository;
     _publicationRoleRepository         = publicationRoleRepository;
     _releaseRoleRepository             = releaseRoleRepository;
 }
Beispiel #7
0
 public ResolveSpecificCommentAuthorizationHandler(ContentDbContext contentDbContext,
                                                   IReleasePublishingStatusRepository releasePublishingStatusRepository,
                                                   IUserPublicationRoleRepository userPublicationRoleRepository,
                                                   IUserReleaseRoleRepository userReleaseRoleRepository)
 {
     _contentDbContext = contentDbContext;
     _releasePublishingStatusRepository = releasePublishingStatusRepository;
     _userPublicationRoleRepository     = userPublicationRoleRepository;
     _userReleaseRoleRepository         = userReleaseRoleRepository;
 }