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