コード例 #1
0
 public IEnumerable <ITagSpan <IGlyphTag> > GetTags(NormalizedSnapshotSpanCollection spans)
 {
     return(from span in manager.GetTags(spans)
            select new TagSpan <IGlyphTag>(span, new OutliningGlyphTag()));
 }
コード例 #2
0
 public IEnumerable <ITagSpan <IOutliningRegionTag> > GetTags(NormalizedSnapshotSpanCollection spans)
 {
     return(from span in manager.GetTags(spans)
            select new TagSpan <IOutliningRegionTag>(span,
                                                     new OutliningRegionTag(false, false, "...", span.GetText())));
 }