示例#1
0
 public ResultsViewModel(MainViewModel baseViewModel)
 {
     MyBaseViewModel       = baseViewModel;
     HighlightTermBehavior = new HighlightTermBehavior();
 }
示例#2
0
        public void Split_in_to_be_highlighted_and_not_to_be_highlighted_parts(string inputText, string [] expectedTextParts)
        {
            var textParts = HighlightTermBehavior.SplitTextIntoTermAndNotTermParts(inputText, "1");

            textParts.Should().BeEquivalentTo(expectedTextParts);
        }