/// <summary> /// Retrieves the disabled features. /// </summary> /// <returns>An enumeration of feature descriptors for the disabled features.</returns> public IEnumerable <FeatureDescriptor> GetDisabledFeatures() { var currentShellDescriptor = _shellDescriptorManager.GetShellDescriptor(); return(_extensionManager.DisabledFeatures(currentShellDescriptor)); }
/// <summary> /// Retrieves the disabled features. /// </summary> /// <returns>An enumeration of feature descriptors for the disabled features.</returns> public async Task <IEnumerable <FeatureDescriptor> > GetDisabledFeaturesAsync() { var currentShellDescriptor = await _shellDescriptorManager.GetShellDescriptorAsync(); return(_extensionManager.DisabledFeatures(currentShellDescriptor)); }