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)

Syntax

'Declaration
Public Interface IBufferGraphFactoryService
public interface IBufferGraphFactoryService
public interface class IBufferGraphFactoryService
type IBufferGraphFactoryService =  interface end
public interface IBufferGraphFactoryService

The IBufferGraphFactoryService type exposes the following members.

Methods

  Name Description
Public method CreateBufferGraph Initializes a new instance of an IBufferGraph for the specified ITextBuffer.

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Text.Projection Namespace