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

The IBufferGraphFactoryService type exposes the following members.

Public methodCreateBufferGraphInitializes 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft