示例#1
0
 public HomeController(
     IConfiguration configuration,
     IPlayerLogic playerLogic,
     ITemplateLogic templateLogic)
 {
     _configuration = configuration;
     _playerLogic   = playerLogic;
     _templateLogic = templateLogic;
 }
示例#2
0
 public PlayController(
     IConfiguration configuration,
     IBotLogic botLogic,
     ITemplateLogic templateLogic,
     IScriptValidationHelper scriptValidationHelper,
     IConfigurationHelper configurationHelper)
 {
     _configuration          = configuration;
     _botLogic               = botLogic;
     _templateLogic          = templateLogic;
     _scriptValidationHelper = scriptValidationHelper;
     _configurationHelper    = configurationHelper;
 }
 public ExperimentController(
     IExperimentRepository experimentRepository,
     IExperimentPreprocessRepository experimentPreprocessRepository,
     IAquariumDataSetRepository aquariumDataSetRepository,
     IDataSetRepository dataSetRepository,
     IGitRepository gitRepository,
     IRegistryRepository registryRepository,
     ITrainingHistoryRepository trainingHistoryRepository,
     ITemplateRepository templateRepository,
     ITemplateVersionRepository templateVersionRepository,
     ITenantRepository tenantRepository,
     INodeRepository nodeRepository,
     ITemplateLogic templateLogic,
     ITagLogic tagLogic,
     IGitLogic gitLogic,
     IClusterManagementLogic clusterManagementLogic,
     IDataSetLogic dataSetLogic,
     IRegistryLogic registryLogic,
     IUnitOfWork unitOfWork,
     IInferenceHistoryRepository inferenceHistoryRepository,
     ITensorBoardContainerRepository tensorBoardContainerRepository,
     ITagRepository tagRepository,
     IStorageLogic storageLogic,
     IHttpContextAccessor accessor) : base(accessor)
 {
     this.trainingHistoryRepository      = trainingHistoryRepository;
     this.experimentRepository           = experimentRepository;
     this.experimentPreprocessRepository = experimentPreprocessRepository;
     this.aquariumDataSetRepository      = aquariumDataSetRepository;
     this.dataSetRepository         = dataSetRepository;
     this.gitRepository             = gitRepository;
     this.registryRepository        = registryRepository;
     this.templateRepository        = templateRepository;
     this.templateVersionRepository = templateVersionRepository;
     this.tenantRepository          = tenantRepository;
     this.nodeRepository            = nodeRepository;
     this.templateLogic             = templateLogic;
     this.tagLogic = tagLogic;
     this.gitLogic = gitLogic;
     this.clusterManagementLogic         = clusterManagementLogic;
     this.dataSetLogic                   = dataSetLogic;
     this.registryLogic                  = registryLogic;
     this.inferenceHistoryRepository     = inferenceHistoryRepository;
     this.tensorBoardContainerRepository = tensorBoardContainerRepository;
     this.tagRepository                  = tagRepository;
     this.storageLogic                   = storageLogic;
     this.unitOfWork = unitOfWork;
 }
示例#4
0
 /// <summary>
 /// コンストラクタ
 /// </summary>
 public TemplateController(
     IExperimentRepository experimentRepository,
     IExperimentPreprocessRepository experimentPreprocessRepository,
     ITemplateRepository templateRepository,
     ITemplateVersionRepository templateVersionRepository,
     ITemplateLogic templateLogic,
     IGitLogic gitLogic,
     IUnitOfWork unitOfWork,
     IHttpContextAccessor accessor) : base(accessor)
 {
     this.experimentRepository           = experimentRepository;
     this.experimentPreprocessRepository = experimentPreprocessRepository;
     this.templateRepository             = templateRepository;
     this.templateVersionRepository      = templateVersionRepository;
     this.templateLogic = templateLogic;
     this.unitOfWork    = unitOfWork;
     this.gitLogic      = gitLogic;
 }
示例#5
0
 public void Setup()
 {
     TemplateDalContainer = TemplateFactory.CreateTemplateDalContainer();
     TemplateDalLogic     = TemplateFactory.CreateTemplateDALLogic();
     TemplateLogic        = new TemplateLogic();
 }
示例#6
0
 public TemplateContainer()
 {
     TemplateDalLogic = TemplateFactory.CreateTemplateDALLogic();
 }