提交 3bc19ae6 编写于 作者: H HeeJae Chang

added comment on the preview static classification tagger

上级 d424caa4
......@@ -16,17 +16,22 @@
namespace Microsoft.CodeAnalysis.Editor.Implementation.Preview
{
/// <summary>
/// This tagger assumes content of the buffer never get changed.
/// and the buffer provides static classification information on the buffer content
/// through <see cref="PredefinedPreviewTaggerKeys.StaticClassificationSpansKey" /> in the buffer property bag
/// </summary>
[Export(typeof(ITaggerProvider))]
[TagType(typeof(IClassificationTag))]
[ContentType(ContentTypeNames.RoslynContentType)]
[ContentType(ContentTypeNames.XamlContentType)]
[TextViewRole(TextViewRoles.PreviewRole)]
internal class PreviewClassificationTaggerProvider : ITaggerProvider
internal class PreviewStaticClassificationTaggerProvider : ITaggerProvider
{
private readonly ClassificationTypeMap _typeMap;
[ImportingConstructor]
public PreviewClassificationTaggerProvider(ClassificationTypeMap typeMap)
public PreviewStaticClassificationTaggerProvider(ClassificationTypeMap typeMap)
{
_typeMap = typeMap;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册