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)

'Declaration
Public Interface IBufferGraphFactoryService

The IBufferGraphFactoryService type exposes the following members.

  NameDescription
Public methodCreateBufferGraphInitializes a new instance of an IBufferGraph for the specified ITextBuffer.
Top

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
Show:
© 2015 Microsoft