Compartilhar via


IChangeSourceProvider Interface

Definition

Represents a provider of a IChangeSource component, which is a source of alternative (external to the core editor) information about modifications in a given ITextBuffer, for example changes against baseline source controlled version. Component exporters must supply NameAttribute and at least one ContentTypeAttribute attribute to specify the applicable content types.

public interface IChangeSourceProvider
type IChangeSourceProvider = interface
Public Interface IChangeSourceProvider

Remarks

This is a MEF component part, and should be exported with the following attribute:

[Export(typeof(IChangeSourceProvider))]
[ContentType(StandardContentTypeNames.Text)]
[Name("My External Change DataSource Provider")]

Methods

Create(ITextBuffer)

Creates an instance of IChangeSource for a given ITextBuffer.

Applies to