Enum
YamlSequenceIndentation
OfficeIMO.Yaml
How YamlFormatter indents block sequences under a mapping key.
Inheritance
- Enum
- YamlSequenceIndentation
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 YamlSequenceIndentation Preserve #The style the document uses most: what saving new nodes would follow.
Value:
0public const YamlSequenceIndentation Indented #The dash indented under the key by the indent width: key:\n - item, as Kubernetes manifests and Helm charts write it.
Value:
2