private void Initialize()
 {
     this.validationService = new ValidationService();
     this.telnetService     = new TelnetService();
     this.configuration     = new UserServiceConfiguration().UserProfileConfiguration;
     this.appSettings       = new AppSettings();
     this.context           = SynchronizationContext.Current ?? new SynchronizationContext();
 }
Esempio n. 2
0
 public IActionResult StartTelnet(int id, [FromServices] ITelnetService telnet)
 {
     return(AppServiceOrBadRequest(
                id,
                AppServiceTypes.Telnet,
                telnet
                ));
 }