MergeJobConflict.

GetMergeSubFileContentsAsText(MergeJobConflictSubFile, Encoding) Method

Summary

Gets the contents of the sub-file, as a string, using the specified encoding to decode the contents.
Assembly
Mercurial.Net.dll
Namespace
Mercurial
Containing Type
MergeJobConflict

Syntax

public string GetMergeSubFileContentsAsText(MergeJobConflictSubFile subFile, Encoding encoding)

Parameters

Name Type Description
subFile MergeJobConflictSubFile Which particular MergeJobConflictSubFile to get the contents of.
encoding Encoding The System.Text.Encoding to use when reading the file contents; or null to use System.Text.Encoding.Default.

Return Value

Type Description
string The contents of the specified subFile, as a string.