示例#1
0
 public CompleteAzureFirstTimeSetupCommand(
     IUsersContext usersContext,
     IAzureSqlSecurityConfigurator cloudOdsSqlConfigurator,
     ISecurityContext securityContext,
     ICloudOdsClaimSetConfigurator cloudOdsClaimSetConfigurator,
     IGetCloudOdsInstanceQuery getCloudOdsInstanceQuery,
     IGetAzureCloudOdsHostedComponentsQuery getCloudOdsHostedComponentQuery,
     IOdsSecretConfigurationProvider odsSecretConfigurationProvider,
     ICloudOdsDatabaseSqlServerSecurityConfiguration cloudOdsDatabaseSqlServerSecurityConfiguration,
     IOdsInstanceFirstTimeSetupService odsInstanceFirstTimeSetupService,
     IRestartAppServicesCommand restartAppServicesCommand,
     IAssessmentVendorAdjustment assessmentVendorAdjustment,
     ILearningStandardsSetup learningStandardsSetup)
 {
     _restartAppServicesCommand  = restartAppServicesCommand;
     _assessmentVendorAdjustment = assessmentVendorAdjustment;
     _learningStandardsSetup     = learningStandardsSetup;
     _usersContext                     = usersContext;
     _cloudOdsSqlConfigurator          = cloudOdsSqlConfigurator;
     _securityContext                  = securityContext;
     _cloudOdsClaimSetConfigurator     = cloudOdsClaimSetConfigurator;
     _getCloudOdsInstanceQuery         = getCloudOdsInstanceQuery;
     _getCloudOdsHostedComponentsQuery = getCloudOdsHostedComponentQuery;
     _odsSecretConfigurationProvider   = odsSecretConfigurationProvider;
     _cloudOdsDatabaseSqlServerSecurityConfiguration = cloudOdsDatabaseSqlServerSecurityConfiguration;
     _odsInstanceFirstTimeSetupService = odsInstanceFirstTimeSetupService;
 }
 public RegisterOdsInstanceCommand(IOdsInstanceFirstTimeSetupService odsInstanceFirstTimeSetupService
                                   , IDatabaseConnectionProvider connectionProvider
                                   , AdminAppIdentityDbContext identity)
 {
     _odsInstanceFirstTimeSetupService = odsInstanceFirstTimeSetupService;
     _connectionProvider = connectionProvider;
     _identity           = identity;
 }
 public RegisterOdsInstanceCommand(IOdsInstanceFirstTimeSetupService odsInstanceFirstTimeSetupService
                                   , AdminAppIdentityDbContext identity
                                   , ISetCurrentSchoolYearCommand setCurrentSchoolYear
                                   , IInferInstanceService inferInstanceService)
 {
     _odsInstanceFirstTimeSetupService = odsInstanceFirstTimeSetupService;
     _identity             = identity;
     _setCurrentSchoolYear = setCurrentSchoolYear;
     _inferInstanceService = inferInstanceService;
 }
示例#4
0
 public CompleteOnPremFirstTimeSetupCommand(
     IUsersContext usersContext,
     ISecurityContext securityContext,
     ICloudOdsClaimSetConfigurator cloudOdsClaimSetConfigurator,
     IOdsInstanceFirstTimeSetupService firstTimeSetupService,
     IAssessmentVendorAdjustment assessmentVendorAdjustment,
     ILearningStandardsSetup learningStandardsSetup)
 {
     _assessmentVendorAdjustment = assessmentVendorAdjustment;
     _learningStandardsSetup     = learningStandardsSetup;
     _usersContext    = usersContext;
     _securityContext = securityContext;
     _cloudOdsClaimSetConfigurator = cloudOdsClaimSetConfigurator;
     _firstTimeSetupService        = firstTimeSetupService;
 }
 public RegisterOdsInstanceCommand(IOdsInstanceFirstTimeSetupService odsInstanceFirstTimeSetupService
                                   , IDatabaseConnectionProvider connectionProvider)
 {
     _odsInstanceFirstTimeSetupService = odsInstanceFirstTimeSetupService;
     _connectionProvider = connectionProvider;
 }