TextMergeResult Class
The result of TextMerge.Merge.
public sealed class TextMergeResultProperties
| Name | Description |
|---|---|
| Chunks | Gets the regions of the merge, in order. |
| HasConflicts | Gets a value indicating whether a region is a TextMergeChunkKind.Conflict. |
| Text | Gets the merged text. Each conflict is written between conflict markers, as set by TextMergeOptions.ConflictStyle. |
Chunks
TextMergeResult.csGets the regions of the merge, in order.
public IReadOnlyList<TextMergeChunk> Chunks { get; }Property value
HasConflicts
TextMergeResult.csGets a value indicating whether a region is a TextMergeChunkKind.Conflict.
public bool HasConflicts { get; }Property value
Gets the merged text. Each conflict is written between conflict markers, as set by TextMergeOptions.ConflictStyle.
public string Text { get; }Property value
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
| Name | Description |
|---|---|
| ToString() |