Freigeben über


IDifferenceBufferFactoryService Interface

A factory for creating IDifferenceBuffer instances.

Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

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

The IDifferenceBufferFactoryService type exposes the following members.

Methods

  Name Description
Public method CreateDifferenceBuffer(ITextBuffer, ITextBuffer) Creates an IDifferenceBuffer for the given left and right buffers.
Public method CreateDifferenceBuffer(ITextBuffer, ITextBuffer, StringDifferenceOptions, Boolean, Boolean, Boolean) Creates an IDifferenceBuffer for the given left and right buffers and with the given difference options.
Public method TryGetDifferenceBuffer Gets the IDifferenceBuffer for the given projection buffer if there is one.

Top

Remarks

This is a MEF service and can be imported.

See Also

Reference

Microsoft.VisualStudio.Text.Differencing Namespace