Esempio n. 1
0
        public bool Available(string key, SupportedFeaturesProfile profileConstants)
        {
            var featureSlot = profileConstants.GetFeatureSlot(key);

            if (featureSlot >= 0)
            {
                return((uint)GetStatus(featureSlot) > 0U);
            }

            return(false);
        }
Esempio n. 2
0
        public SupportedFeatures.Status GetStatus(string key, SupportedFeaturesProfile profileConstants)
        {
            var featureSlot = profileConstants.GetFeatureSlot(key);

            if (featureSlot >= 0)
            {
                return(GetStatus(featureSlot));
            }

            return(SupportedFeatures.Status.Unavailable);
        }