public FxCopRuleValidator([NotNull] BaseIntrospectionRule rule, [NotNull] AssemblyUnderTest assembly) { Guard.NotNull(rule, "rule"); Guard.NotNull(assembly, "assembly"); this.rule = rule; this.assembly = assembly; }
internal FxCopRunner([NotNull] BaseIntrospectionRule ruleToRun, [NotNull] AssemblyUnderTest onAssembly) { Guard.NotNull(ruleToRun, "ruleToRun"); Guard.NotNull(onAssembly, "onAssembly"); rule = ruleToRun; assembly = onAssembly; }