Partilhar via


IErrorProviderFactory Interface

Definition

Gets a error tagger (a SimpleTagger<T> of type ErrorTag) for the given buffer, or creates a new one if there is no error tagger already cached in the owned properties of the buffer.

public interface class IErrorProviderFactory
public interface class IErrorProviderFactory
__interface IErrorProviderFactory
public interface IErrorProviderFactory
type IErrorProviderFactory = interface
Public Interface IErrorProviderFactory

Remarks

This is a MEF somponent part, and should be exported with the following attribute: [Export(typeof(IErrorProviderFactory))]

Methods

GetErrorTagger(ITextBuffer)

Gets the cached error tagger for a given ITextBuffer. If one does not exist, creates and caches a new SimpleTagger<T> with the ITextBuffer.

Applies to