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();
 }
Exemple #2
0
 public SemaphoreController(ISemaphoreService semaphoreService)
 {
     _service = semaphoreService;
 }
Exemple #3
0
 private void Setup()
 {
     _service = new SemaphoreService();
 }