Class DiffFormatter
Formats diff results as Markdown or JSON.
public sealed class DiffFormatter
- Inheritance
-
DiffFormatter
- Inherited Members
Methods
FormatAsJson(DomainDiff, bool)
Formats a diff as JSON.
public string FormatAsJson(DomainDiff diff, bool indented = true)
Parameters
diffDomainDiffThe diff to format.
indentedboolWhether to indent the JSON.
Returns
- string
JSON string.
FormatAsMarkdown(DomainDiff)
Formats a diff as Markdown.
public string FormatAsMarkdown(DomainDiff diff)
Parameters
diffDomainDiffThe diff to format.
Returns
- string
Markdown string.