private List <IRapidXamlAdornmentTag> Act(string xaml) { var outputTags = new TagList(); var sut = new TextBlockProcessor(new ProcessorEssentialsForSimpleTests()); var snapshot = new FakeTextSnapshot(); sut.Process("nofile.xaml", 0, xaml, string.Empty, snapshot, outputTags); return(outputTags); }
private List <IRapidXamlAdornmentTag> Act(string xaml) { var outputTags = new TagList(); var sut = new TextBlockProcessor(ProjectType.Any, new DefaultTestLogger()); var snapshot = new FakeTextSnapshot(); sut.Process("nofile.xaml", 0, xaml, string.Empty, snapshot, outputTags); return(outputTags); }
private List <IRapidXamlAdornmentTag> Act(string xaml) { var outputTags = new List <IRapidXamlAdornmentTag>(); var sut = new TextBlockProcessor(); var snapshot = new FakeTextSnapshot(); sut.Process(0, xaml, string.Empty, snapshot, outputTags); return(outputTags); }