public ConfigurationForm(IFormService formService, IHttpClientService httpClientService, ISemaphoreService semaphoreService, IFormatterService formatterService, IHtmlService htmlService) { this.formService = formService; this.httpClientService = httpClientService; this.semaphoreService = semaphoreService; this.formatterService = formatterService; this.htmlService = htmlService; InitializeComponent(); InitializeTranslations(); InitializePosition(); InitializeFontAndOptions(); InitializeLanguagesCombo(); InitializeLeagueRaceCombo(); InitializeTemplates(); }
public SemaphoreController(ISemaphoreService semaphoreService) { _service = semaphoreService; }
private void Setup() { _service = new SemaphoreService(); }