Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

YamlLintFixResult

OfficeIMO.Yaml

Namespace
OfficeIMO.Yaml
Assembly
OfficeIMO.Yaml
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

The outcome of YamlLinter.Fix.

Inheritance

  • object
  • YamlLintFixResult

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Properties

public string Text { get; } #

Gets the repaired text; the input itself when nothing was fixed.

public bool Changed { get; } #

Gets whether any fix was applied.

public IReadOnlyList<YamlLintFinding> Applied { get; } #

Gets the findings whose fixes were applied. Most are positioned in the input; a fix that only an earlier fix made possible, such as a blank line left behind, is positioned in the text that earlier fix produced.

public IReadOnlyList<YamlLintFinding> Remaining { get; } #

Gets the findings that linting the repaired text still reports.