JsonDiffOutputGenerator.GenerateOutput
内容
[
隐藏
]GenerateOutput(List<DiffOperation>)
生成文本之间差异的输出并将其保存到文件。
public string GenerateOutput(List<DiffOperation> diffrences)
| 参数 | 类型 | 描述 |
|---|---|---|
| diffrences | List`1 | 文本之间差异的列表。 |
返回值
JSON 文本。
另见
- class DiffOperation
- class JsonDiffOutputGenerator
- namespace Aspose.Pdf.Comparison
- assembly Aspose.PDF
GenerateOutput(List<List<DiffOperation>>)
生成文本之间差异的输出并将其保存到文件。
public string GenerateOutput(List<List<DiffOperation>> diffrences)
| 参数 | 类型 | 描述 |
|---|---|---|
| diffrences | List`1 | 文本之间差异的列表。 |
返回值
JSON 文本。
另见
- class DiffOperation
- class JsonDiffOutputGenerator
- namespace Aspose.Pdf.Comparison
- assembly Aspose.PDF
GenerateOutput(List<DiffOperation>, string)
生成文本之间差异的输出并将其保存到文件。
public void GenerateOutput(List<DiffOperation> diffrences, string targetFilePath)
| 参数 | 类型 | 描述 |
|---|---|---|
| diffrences | List`1 | 文本之间差异的列表。 |
| targetFilePath | String | 保存输出的目标文件路径。 |
另见
- class DiffOperation
- class JsonDiffOutputGenerator
- namespace Aspose.Pdf.Comparison
- assembly Aspose.PDF
GenerateOutput(List<List<DiffOperation>>, string)
生成文本之间差异的输出并将其保存到文件。
public void GenerateOutput(List<List<DiffOperation>> diffrences, string targetFilePath)
| 参数 | 类型 | 描述 |
|---|---|---|
| diffrences | List`1 | 文本之间差异的列表。 |
| targetFilePath | String | 保存输出的目标文件路径。 |
另见
- class DiffOperation
- class JsonDiffOutputGenerator
- namespace Aspose.Pdf.Comparison
- assembly Aspose.PDF