Exemple #1
0
 public CommandLineApp(Func <ObsWebSocketClientSettings, ConfigurationForm> formFactory,
                       JsonSettingsRepository settingsRepository, ObsWebSocketClient client,
                       IPresentationSubscriber subscriber, ILogger <CommandLineApp> logger)
 {
     this.formFactory        = formFactory;
     this.settingsRepository = settingsRepository;
     this.client             = client;
     this.subscriber         = subscriber;
     this.logger             = logger;
 }
Exemple #2
0
 // TODO: Refactor this Injection
 public ConfigurationForm(ObsWebSocketClientSettings settings, ObsWebSocketClient client)
 {
     InitializeComponent();
     this.settings = settings ?? new ObsWebSocketClientSettings();
     this.client   = client;
 }