Esempio n. 1
0
 public DetailsModel(
     IOrganizationRetrievalService organizationRetrievalService,
     IOrganizationManagementService organizationManagementService)
 {
     _organizationRetrievalService  = organizationRetrievalService ?? throw new ArgumentNullException(nameof(organizationRetrievalService));
     _organizationManagementService = organizationManagementService ?? throw new ArgumentNullException(nameof(organizationManagementService));
 }
Esempio n. 2
0
        public OrganizationsController(
            IOrganizationRetrievalService organizationRetrievalService,
            IOrganizationManagementService organizationManagementService)
        {
            _organizationRetrievalService = organizationRetrievalService ?? throw
                                                new ArgumentNullException(nameof(organizationRetrievalService));

            _organizationManagementService = organizationManagementService ?? throw
                                                 new ArgumentNullException(nameof(organizationManagementService));
        }
Esempio n. 3
0
 public OrganizationMembersController(
     IOrganizationMemberManagementService orgMemberService,
     IUserRetrievalService userRetrievalService,
     IOrganizationRetrievalService orgRetrievalService)
 {
     _orgMemberService = orgMemberService ?? throw
                             new ArgumentNullException(nameof(orgMemberService));
     _userRetrievalService = userRetrievalService ?? throw
                                 new ArgumentNullException(nameof(userRetrievalService));
     _orgRetrievalService = orgRetrievalService ?? throw
                                new ArgumentNullException(nameof(orgRetrievalService));
 }
        public OrganizationSettingsController(
            IOrganizationSettingsCache organizationSettingsCache,
            IOrganizationSettingsManagementService organizationSettingsManagementService,
            IOrganizationSettingsRegistry organizationSettingsRegistry,
            IOrganizationRetrievalService organizationRetrievalService,
            IOrganizationAccessControlService organizationAccessControlService)
        {
            _organizationSettingsCache = organizationSettingsCache ?? throw
                                             new ArgumentNullException(nameof(organizationSettingsCache));

            _organizationSettingsManagementService = organizationSettingsManagementService ?? throw
                                                         new ArgumentNullException(nameof(organizationSettingsManagementService));

            _organizationSettingsRegistry = organizationSettingsRegistry ?? throw
                                                new ArgumentNullException(nameof(organizationSettingsRegistry));

            _organizationRetrievalService = organizationRetrievalService ?? throw
                                                new ArgumentNullException(nameof(organizationRetrievalService));

            _organizationAccessControlService = organizationAccessControlService ?? throw
                                                    new ArgumentNullException(nameof(organizationAccessControlService));
        }
Esempio n. 5
0
 public IndexModel(IOrganizationRetrievalService organizationRetrievalService)
 {
     _organizationRetrievalService = organizationRetrievalService ??
                                     throw new ArgumentNullException(nameof(organizationRetrievalService));
 }