In This Article

ICodeDocumentTaggerProvider Interface

Provides the base requirements for an object that can create ITagger<T> objects for an ICodeDocument.

public interface ICodeDocumentTaggerProvider

Properties

TagTypes

Gets the ITag Type objects that are supported by the ITagger<T> objects created by this provider.

IEnumerable<Type> TagTypes { get; }

Property Value

IEnumerable<Type>:

The ITag Type objects that are supported by the ITagger<T> objects created by this provider.

Methods

GetTagger<T>(ICodeDocument)

Returns an ITagger<T> for the specified ICodeDocument.

ITagger<T> GetTagger<T>(ICodeDocument document)
    where T : ITag
Type Parameters:
T -

The type of ITag created by the tagger.

Parameter Type Description
document ICodeDocument

The ICodeDocument that requires an ITagger<T>.

Returns

ITagger<T>:

An ITagger<T> for the specified ICodeDocument.

See Also