Exemplo n.º 1
0
 private IEnumerable <IRuleDependency> CompileDependencies(IRuleDefinition ruleDefinition)
 {
     foreach (var dependency in ruleDefinition.DependencyGroup.Dependencies)
     {
         var compiledDependency = new RuleDependency(dependency.Declaration, dependency.ServiceType);
         yield return(compiledDependency);
     }
 }
Exemplo n.º 2
0
 private IEnumerable<IRuleDependency> CompileDependencies(IRuleDefinition ruleDefinition)
 {
     foreach (var dependency in ruleDefinition.DependencyGroup.Dependencies)
     {
         var compiledDependency = new RuleDependency(dependency.Declaration, dependency.ServiceType);
         yield return compiledDependency;
     }
 }