public TileManager(PluginResolver pluginResolver, PluginManager pluginManager, PluginSettingsManager pluginSettingsManager) { _pluginResolver = pluginResolver; _pluginManager = pluginManager; _pluginSettingsManager = pluginSettingsManager; TileLock = new SemaphoreSlim(1, 1); }
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); }