TextMergeResult Class

The result of TextMerge.Merge.

public sealed class TextMergeResult

Properties

NameDescription
ChunksGets the regions of the merge, in order.
HasConflictsGets a value indicating whether a region is a TextMergeChunkKind.Conflict.
TextGets the merged text. Each conflict is written between conflict markers, as set by TextMergeOptions.ConflictStyle.

Gets the regions of the merge, in order.

public IReadOnlyList<TextMergeChunk> Chunks { get; }

HasConflicts

TextMergeResult.cs

Gets a value indicating whether a region is a TextMergeChunkKind.Conflict.

public bool HasConflicts { get; }

Property value

bool

Gets the merged text. Each conflict is written between conflict markers, as set by TextMergeOptions.ConflictStyle.

public string Text { get; }

Property value

string

Remarks

A marker always starts a line: a line feed is added before a marker that would follow text that does not end with "\n".

Methods

NameDescription
ToString()
public override string ToString()

Returns

string

No documentation is available.