Difference Constructor (Span, Span, Match^, Match^)

 

Initializes a new instance of a Difference with the specified left and right spans and before and after matches.

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

public:
Difference(
	Span left,
	Span right,
	Match^ before,
	Match^ after
)

Parameters

left
Type: Microsoft.VisualStudio.Text::Span

The left side of the difference (may have zero length).

right
Type: Microsoft.VisualStudio.Text::Span

The right side of the difference (may have zero length).

before
Type: Microsoft.VisualStudio.Text.Differencing::Match^

The non-differing element range before this difference.

after
Type: Microsoft.VisualStudio.Text.Differencing::Match^

The non-differing element range after this difference.

Return to top
Show: