예제 #1
0
 public Authorization(IsCoo <GetWeeklyReportPhrQuery, Dto> isCoo, IsPmo <GetWeeklyReportPhrQuery, Dto> isPmo,
                      Rules rules, PreAuthorizationThrowException <GetWeeklyReportPhrQuery, Dto> throwException)
 {
     AddHandler(isCoo);
     AddHandler(isPmo);
     AddHandler(rules);
     AddHandler(throwException);
 }
예제 #2
0
 public AuthorizationHandler(IsCoo <GetProjectIndexPhrQuery, Dto> isCoo, IsPmo <GetProjectIndexPhrQuery, Dto> isPmo,
                             Rules rules, PreAuthorizationThrowException <GetProjectIndexPhrQuery, Dto> throwException)
 {
     AddHandler(isCoo);
     AddHandler(isPmo);
     AddHandler(rules);
     AddHandler(throwException);
 }
 public AuthorizationHandler(
     IsCoo <AddEditWeeklyReportPhrCommand, int> isCoo,
     IsPmo <AddEditWeeklyReportPhrCommand, int> isPmo,
     Rules rules,
     PreAuthorizationThrowException <AddEditWeeklyReportPhrCommand, int> throwException)
 {
     AddHandler(isCoo);
     AddHandler(isPmo);
     AddHandler(rules);
     AddHandler(throwException);
 }
 public AuthorizationHandler(
     IsCoo <EditProjectNonMasterDataCommand, int> isCoo,
     IsPmo <EditProjectNonMasterDataCommand, int> isPmo,
     Rules rules,
     PreAuthorizationThrowException <EditProjectNonMasterDataCommand, int> throwException)
 {
     AddHandler(isCoo);
     AddHandler(isPmo);
     AddHandler(rules);
     AddHandler(throwException);
 }
 public GetProjectsQueryAuthorization(
     IsCoo <GetProjectsQuery, GetProjectsQuery.Dto> isCoo,
     IsPmo <GetProjectsQuery, GetProjectsQuery.Dto> isPmo,
     Rules rules,
     PreAuthorizationThrowException <GetProjectsQuery, GetProjectsQuery.Dto> throwException)
 {
     AddHandler(isCoo);
     AddHandler(isPmo);
     AddHandler(rules);
     AddHandler(throwException);
 }