IBufferGraphFactoryService Interface


Creates a buffer graph from a graph of ITextBuffer objects created by projection.

Namespace:   Microsoft.VisualStudio.Text.Projection
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

public interface IBufferGraphFactoryService


Initializes a new instance of an IBufferGraph for the specified ITextBuffer.

This is a MEF component part, and should be imported as follows:

[Import] IBufferGraphFactoryService factory = null;

For more information about buffer graphs, see Inside the Editor.

Return to top