Пример #1
0
 private void CheckFeatures(IEnumerable <RequiresFeatureAttribute> featureAttributes)
 {
     _iocResolver.Using <IFeatureChecker>(featureChecker =>
     {
         foreach (var featureAttribute in featureAttributes)
         {
             featureChecker.CheckEnabled(featureAttribute.RequiresAll, featureAttribute.Features);
         }
     });
 }