public FileShellDescriptorManager( ShellSettingsWithTenants shellSettings, IEnumerable <ShellFeature> shellFeatures) { _shellSettings = shellSettings ?? throw new ArgumentException(nameof(shellSettings)); _alwaysEnabledFeatures = shellFeatures.Where(f => f.AlwaysEnabled).ToArray(); }
public FileShellDescriptorManager(ShellSettingsWithTenants shellSettings) { if (shellSettings == null) { throw new ArgumentException(nameof(shellSettings)); } _shellSettings = shellSettings; }