示例#1
0
        public OrgInitializer(IAdminLogger logger, IStarterKitConnection starterKitConnection, IDeviceAdminManager deviceAdminMgr, ISubscriptionManager subscriptionMgr, IPipelineModuleManager pipelineMgr, IDeviceTypeManager deviceTypeMgr, IDeviceRepositoryManager deviceRepoMgr,
                              IUserManager userManager, IProductManager productManager, IDeviceTypeManager deviceTypeManager, IDeviceConfigurationManager deviceCfgMgr, IDeviceMessageDefinitionManager deviceMsgMgr, IDeploymentInstanceManager instanceMgr,
                              IDeploymentHostManager hostMgr, IDeviceManager deviceManager, IContainerRepositoryManager containerMgr, ISolutionManager solutionMgr, IOrganizationRepo orgMgr, ISimulatorManager simMgr, IVerifierManager verifierMgr)
        {
            _userManager     = userManager;
            _deviceAdminMgr  = deviceAdminMgr;
            _subscriptionMgr = subscriptionMgr;
            _pipelineMgr     = pipelineMgr;
            _deviceTypeMgr   = deviceTypeMgr;
            _deviceMsgMgr    = deviceMsgMgr;
            _deviceCfgMgr    = deviceCfgMgr;
            _deviceRepoMgr   = deviceRepoMgr;
            _productManager  = productManager;
            _verifierMgr     = verifierMgr;
            _deviceTypeMgr   = deviceTypeManager;
            _simulatorMgr    = simMgr;
            _orgRepo         = orgMgr;
            _deviceManager   = deviceManager;
            _hostManager     = hostMgr;

            _instanceMgr = instanceMgr;
            _solutionMgr = solutionMgr;

            _storageUtils = new StorageUtils(new Uri(starterKitConnection.StarterKitStorage.Uri), starterKitConnection.StarterKitStorage.AccessKey,
                                             starterKitConnection.StarterKitStorage.ResourceName, logger);
        }
示例#2
0
 public SolutionManager(ISolutionRepo deploymentRepo, IDeviceConfigurationManager deviceConfigManager, IPipelineModuleManager pipelineModuleManager,
                        ISolutionVersionRepo solutionVersionRepo, IAdminLogger logger, IAppConfig appConfig, IDependencyManager depmanager, ISecurity security) :
     base(logger, appConfig, depmanager, security)
 {
     _deploymentRepo        = deploymentRepo;
     _deviceConfigManager   = deviceConfigManager;
     _pipelineModuleManager = pipelineModuleManager;
     _solutionVersionRepo   = solutionVersionRepo;
 }
示例#3
0
        public CloneServices(IDeviceAdminManager deviceAdminMgr, ISubscriptionManager subscriptionMgr, IPipelineModuleManager pipelineMgr, IDeviceTypeManager deviceTypeMgr, IDeviceRepositoryManager deviceRepoMgr,
                             IProductManager productManager, IDeviceConfigurationManager deviceCfgMgr, IDeviceMessageDefinitionManager deviceMsgMgr, IDeploymentHostManager hostMgr, IDeploymentInstanceManager instanceMgr,
                             ISolutionManager solutionMgr, IVerifierManager verifierMgr)
        {
            _deviceAdminMgr  = deviceAdminMgr;
            _subscriptionMgr = subscriptionMgr;
            _pipelineMgr     = pipelineMgr;
            _deviceTypeMgr   = deviceTypeMgr;
            _deviceMsgMgr    = deviceMsgMgr;
            _deviceCfgMgr    = deviceCfgMgr;
            _deviceRepoMgr   = deviceRepoMgr;
            _productManager  = productManager;
            _verifierMgr     = verifierMgr;

            _hostMgr     = hostMgr;
            _instanceMgr = instanceMgr;
            _solutionMgr = solutionMgr;
        }
 public ServiceTicketManager(IServiceTicketRepo repo, IServiceBoardRepo boardRepo, IDeviceRepositoryManager repoManager, IDeviceManager deviceManager, ITemplateCategoryRepo templateCategoryRepo,
                             IEmailSender emailSender, ISmsSender smsSender, IAppConfig appConfig, IAdminLogger logger, ITicketStatusRepo ticketStatusRepo, IServiceTicketTemplateRepo templateRepo,
                             IDistributionManager distroManager, IUserManager userManager, IDeviceConfigurationManager deviceConfigManager, IDependencyManager depmanager, ISecurity security)
     : base(logger, appConfig, depmanager, security)
 {
     _repo                 = repo ?? throw new ArgumentNullException(nameof(repo));
     _serviceBoardRepo     = boardRepo ?? throw new ArgumentNullException(nameof(boardRepo));
     _repoManager          = repoManager ?? throw new ArgumentNullException(nameof(repoManager));
     _deviceManager        = deviceManager ?? throw new ArgumentNullException(nameof(deviceManager));
     _templateRepo         = templateRepo ?? throw new ArgumentNullException(nameof(templateRepo));
     _ticketStatusRepo     = ticketStatusRepo ?? throw new ArgumentNullException(nameof(ticketStatusRepo));
     _templateCategoryRepo = templateCategoryRepo ?? throw new ArgumentNullException(nameof(templateCategoryRepo));
     _deviceConfigManager  = deviceConfigManager ?? throw new ArgumentNullException(nameof(deviceConfigManager));
     _emailSender          = emailSender ?? throw new ArgumentNullException(nameof(emailSender));
     _smsSender            = smsSender ?? throw new ArgumentNullException(nameof(smsSender));
     _userManager          = userManager ?? throw new ArgumentNullException(nameof(userManager));
     _distroManager        = distroManager ?? throw new ArgumentNullException(nameof(distroManager));
 }
示例#5
0
 public DeviceConfigurationController(IDeviceConfigurationManager deviceConfigManager, UserManager <AppUser> userManager, IAdminLogger logger) : base(userManager, logger)
 {
     _deviceConfigManager = deviceConfigManager;
 }