TextMergeOptions Class

Options of TextMerge.Merge.

public sealed class TextMergeOptions

Constructors

NameDescription
TextMergeOptions()

TextMergeOptions()

TextMergeOptions.cs
public TextMergeOptions()

No documentation is available.

Properties

NameDescription
BaseLabelGets or sets the label written after the ||||||| marker. Defaults to "base".
ConflictStyleGets or sets how TextMergeResult.Text writes the conflicts. Defaults to TextMergeConflictStyle.Merge.
DiffOptionsGets or sets the options of the diffs between the base and each side: the chunker, the algorithm, the comparison options and the time limit. Defaults to null: a line diff with the default options.
OursLabelGets or sets the label written after the <<<<<<< marker. Defaults to "ours".
TheirsLabelGets or sets the label written after the >>>>>>> marker. Defaults to "theirs".

Gets or sets the label written after the ||||||| marker. Defaults to "base".

public string BaseLabel { get; set; }

Property value

string

ConflictStyle

TextMergeOptions.cs

Gets or sets how TextMergeResult.Text writes the conflicts. Defaults to TextMergeConflictStyle.Merge.

public TextMergeConflictStyle ConflictStyle { get; set; }

Gets or sets the options of the diffs between the base and each side: the chunker, the algorithm, the comparison options and the time limit. Defaults to null: a line diff with the default options.

public TextDiffOptions? DiffOptions { get; set; }

Property value

TextDiffOptions?

Remarks

Gets or sets the label written after the <<<<<<< marker. Defaults to "ours".

public string OursLabel { get; set; }

Property value

string

Gets or sets the label written after the >>>>>>> marker. Defaults to "theirs".

public string TheirsLabel { get; set; }

Property value

string