private void CheckFeatures(IEnumerable <RequiresFeatureAttribute> featureAttributes) { _iocResolver.Using <IFeatureChecker>(featureChecker => { foreach (var featureAttribute in featureAttributes) { featureChecker.CheckEnabled(featureAttribute.RequiresAll, featureAttribute.Features); } }); }