TextMergeChunk Class
A region of a three-way merge, with its text in the base and in both sides.
public sealed class TextMergeChunkProperties
| Name | Description |
|---|---|
| BaseText | Gets the text of the region in the base. |
| Kind | Gets how the region was resolved. |
| OursText | Gets the text of the region in "ours". |
| Text | Gets the merged text of the region: TextMergeChunk.TheirsText for TextMergeChunkKind.ChangedInTheirs, TextMergeChunk.OursText otherwise, or null for a TextMergeChunkKind.Conflict. |
| TheirsText | Gets the text of the region in "theirs". |
BaseText
TextMergeChunk.csOursText
TextMergeChunk.csGets the merged text of the region: TextMergeChunk.TheirsText for TextMergeChunkKind.ChangedInTheirs, TextMergeChunk.OursText otherwise, or null for a TextMergeChunkKind.Conflict.
public string? Text { get; }Property value
TheirsText
TextMergeChunk.csMethods
| Name | Description |
|---|---|
| ToString() |