public HomeController(ITextMatchService textMatchService) { if (textMatchService == null) throw new ArgumentNullException("textMatchService"); _textMatchService = textMatchService; }
public HomeController(ITextMatchService textMatchService) { if (textMatchService == null) { throw new ArgumentNullException("textMatchService"); } _textMatchService = textMatchService; }
public void set_up() { _textMatchService = new TextMatchService(); _testText = "Polly put the kettle on, polly put the kettle on, polly put the kettle on we’ll all have tea"; }
public MatchController(ITextMatchService textMatchService) { _textMatchService = textMatchService; }