예제 #1
0
 public TileManager(PluginResolver pluginResolver, PluginManager pluginManager, PluginSettingsManager pluginSettingsManager)
 {
     _pluginResolver        = pluginResolver;
     _pluginManager         = pluginManager;
     _pluginSettingsManager = pluginSettingsManager;
     TileLock = new SemaphoreSlim(1, 1);
 }
예제 #2
0
 public SettingsManager(PluginManager pluginManager, HttpClient httpClient, PluginResolver pluginResolver, PluginSettingsManager pluginSettingsManager)
 {
     _pluginManager         = pluginManager;
     _httpClient            = httpClient;
     _pluginResolver        = pluginResolver;
     _pluginSettingsManager = pluginSettingsManager;
     SettingsLock           = new SemaphoreSlim(1, 1);
     TileLock = new SemaphoreSlim(1, 1);
 }