Enum
YamlLintQuoteRequirement
OfficeIMO.Yaml
When the YamlLintRules.QuotedStrings rule expects string values to be quoted.
Inheritance
- Enum
- YamlLintQuoteRequirement
Usage
Explore 4 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 4
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const YamlLintQuoteRequirement Optional #Quoting is optional; only the quote type is checked.
Value:
1public const YamlLintQuoteRequirement OnlyWhenNeeded #Only values that would read as something else, or cannot be written plain, are quoted.
Value:
2