public bool Available(string key, SupportedFeaturesProfile profileConstants) { var featureSlot = profileConstants.GetFeatureSlot(key); if (featureSlot >= 0) { return((uint)GetStatus(featureSlot) > 0U); } return(false); }
public SupportedFeatures.Status GetStatus(string key, SupportedFeaturesProfile profileConstants) { var featureSlot = profileConstants.GetFeatureSlot(key); if (featureSlot >= 0) { return(GetStatus(featureSlot)); } return(SupportedFeatures.Status.Unavailable); }