public bool DeleteSettings(IShellSettings shellSettings) { if (shellSettings == null) { throw new ArgumentNullException(nameof(shellSettings)); } if (string.IsNullOrEmpty(shellSettings.Location)) { throw new ArgumentNullException(nameof(shellSettings.Location)); } if (_logger.IsEnabled(LogLevel.Information)) { _logger.LogInformation("Deleting shell settings for tenant '{0}'", shellSettings.Name); } return(_appDataFolder.DeleteDirectory(_appDataFolder.Combine( _optionsAccessor.Value.Location, shellSettings.Location))); }