JsonDiffOutputGenerator.GenerateOutput

GenerateOutput(List<DiffOperation>)

生成文本之间差异的输出并将其保存到文件。

public string GenerateOutput(List<DiffOperation> diffrences)
参数类型描述
diffrencesList`1文本之间差异的列表。

返回值

JSON 文本。

另见


GenerateOutput(List<List<DiffOperation>>)

生成文本之间差异的输出并将其保存到文件。

public string GenerateOutput(List<List<DiffOperation>> diffrences)
参数类型描述
diffrencesList`1文本之间差异的列表。

返回值

JSON 文本。

另见


GenerateOutput(List<DiffOperation>, string)

生成文本之间差异的输出并将其保存到文件。

public void GenerateOutput(List<DiffOperation> diffrences, string targetFilePath)
参数类型描述
diffrencesList`1文本之间差异的列表。
targetFilePathString保存输出的目标文件路径。

另见


GenerateOutput(List<List<DiffOperation>>, string)

生成文本之间差异的输出并将其保存到文件。

public void GenerateOutput(List<List<DiffOperation>> diffrences, string targetFilePath)
参数类型描述
diffrencesList`1文本之间差异的列表。
targetFilePathString保存输出的目标文件路径。

另见