Inheritance: ISpellChecker
コード例 #1
0
            public GivenASolutionInspectorWithCommentLanguageRules()
            {
                var spellChecker = new SpellChecker(new ExemptPatterns());

                _reviewer = new NodeReviewer(new IEvaluation[] { new SingleLineCommentLanguageRule(spellChecker), new MultiLineCommentLanguageRule(spellChecker) }, Enumerable.Empty <ISymbolEvaluation>());
            }
コード例 #2
0
 public GivenASolutionInspectorWithCommentLanguageRules()
 {
     var spellChecker = new SpellChecker(new ExemptPatterns());
     _reviewer = new NodeReviewer(new IEvaluation[] { new SingleLineCommentLanguageRule(spellChecker), new MultiLineCommentLanguageRule(spellChecker) }, Enumerable.Empty<ISymbolEvaluation>());
 }
コード例 #3
0
			public void Setup()
			{
				var spellChecker = new SpellChecker(new ExemptPatterns());
				_reviewer = new NodeReviewer(new IEvaluation[] { new SingleLineCommentLanguageRule(spellChecker), new MultiLineCommentLanguageRule(spellChecker) }, Enumerable.Empty<ISymbolEvaluation>());
			}