/* ----------------------------------------------------------------- * * constructors * * ----------------------------------------------------------------- */ /// <summary> /// Initializes a new instance of the <see cref="UiConfigController"/> class. /// </summary> /// <param name="uiConfigService">Injected configuration repository.</param> /// <param name="logger">Injected logger.</param> public UiConfigController( IUiConfigService uiConfigService, ILogger <UiConfigController> logger) : base(logger) { _uiConfigService = uiConfigService; }
/* ----------------------------------------------------------------- * * constructors * * ----------------------------------------------------------------- */ /// <summary> /// Initializes a new instance of the <see cref="ProjectController"/> class. /// </summary> /// <param name="uiConfigService">Injected Initializr configuration service.</param> /// <param name="projectGenerator">Injected project generator.</param> /// <param name="logger">Injected logger.</param> public ProjectController( IUiConfigService uiConfigService, IProjectGenerator projectGenerator, ILogger <ProjectController> logger) : base(logger) { _uiConfigService = uiConfigService; _projectGenerator = projectGenerator; }
/* ----------------------------------------------------------------- * * constructors * * ----------------------------------------------------------------- */ /// <summary> /// Initializes a new instance of the <see cref="RootController"/> class. /// </summary> /// <param name="options">Injected Initializr options.</param> /// <param name="uiConfigService">Injected Initializr configuration service.</param> /// <param name="logger">Injected logger.</param> public RootController( IOptions <InitializrServiceOptions> options, IUiConfigService uiConfigService, ILogger <RootController> logger) : base(logger) { _serviceOptions = options.Value; _uiConfigService = uiConfigService; }