HtmlCodeWriterOptions(string, string, bool, string?, string?)
Options influencing the HTML writing behavior of the test framework.
Declaration
public HtmlCodeWriterOptions(string ProjectPath, string TargetFramework, bool AddTitles = false, string? Prolog = null, string? Epilogue = null)Parameters
| Type | Name | Description |
|---|---|---|
| string | ProjectPath | The path to the project file. Required by WriteAllDiffAsync(IPartialCompilation, IPartialCompilation, HtmlCodeWriterOptions, IEnumerable<Diagnostic>?, Func<Diagnostic, Compilation, bool>?, CancellationToken). |
| string | TargetFramework | The target framework. Required by WriteAllDiffAsync(IPartialCompilation, IPartialCompilation, HtmlCodeWriterOptions, IEnumerable<Diagnostic>?, Func<Diagnostic, Compilation, bool>?, CancellationToken). |
| bool | AddTitles | Whether to add titles to HTML elements. |
| string | Prolog | Optional HTML prolog content. |
| string | Epilogue | Optional HTML epilogue content. |