Ejemplo n.º 1
0
        /// <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));
        }
Ejemplo n.º 2
0
        /// <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));
        }