Beispiel #1
0
 public CreateNamespaceBasedRuleVisitor(
     INamespaceBasedRuleFactory namespaceBasedRuleFactory,
     INamespacesBasedRuleSet namespacesBasedRuleSet)
 {
     _namespaceBasedRuleFactory = namespaceBasedRuleFactory;
     _namespacesBasedRuleSet    = namespacesBasedRuleSet;
 }
Beispiel #2
0
 public ProjectNamespacesAnalysis(ISolutionForNamespaceBasedRules solution,
                                  INamespacesBasedRuleSet namespacesBasedRuleSet,
                                  INamespaceBasedRuleFactory namespaceBasedRuleFactory)
 {
     _solution = solution;
     _namespacesBasedRuleSet    = namespacesBasedRuleSet;
     _namespaceBasedRuleFactory = namespaceBasedRuleFactory;
 }
 public void Check(INamespacesBasedRuleSet ruleSet, IAnalysisReportInProgress analysisReportInProgress)
 {
     ruleSet.Check(_namespaceBasedRuleTargets, analysisReportInProgress);
 }