TomlStringStylePreferences Class
Configures string scalar style preferences for TOML serialization.
public sealed class TomlStringStylePreferences : IEquatable<TomlStringStylePreferences>- Implements
Constructors
| Name | Description |
|---|---|
| TomlStringStylePreferences() |
TomlStringStylePreferences()
public TomlStringStylePreferences()No documentation is available.
Properties
| Name | Description |
|---|---|
| AllowHexEscapes | If true, control characters up to U+00FF are escaped with the TOML 1.1 \xHH and \e escapes. Otherwise, they are escaped with \uXXXX, which TOML 1.0 readers also accept. Keys use this option too. |
| DefaultStyle | Preferred default string style. |
| PreferLiteralWhenNoEscapes | If true, prefer literal strings when no escaping is required. |
AllowHexEscapes
TomlStringStylePreferences.csDefaultStyle
TomlStringStylePreferences.csPreferred default string style.
public TomlStringStyle DefaultStyle { get; init; }PreferLiteralWhenNoEscapes
TomlStringStylePreferences.csMethods
| Name | Description |
|---|---|
| Equals(TomlStringStylePreferences?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() |
Equals overloads
Equals(TomlStringStylePreferences?)
public bool Equals(TomlStringStylePreferences? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(TomlStringStylePreferences?, TomlStringStylePreferences?) | |
| operator !=(TomlStringStylePreferences?, TomlStringStylePreferences?) |
operator ==(TomlStringStylePreferences?, TomlStringStylePreferences?)
public static bool operator ==(TomlStringStylePreferences? left, TomlStringStylePreferences? right)No documentation is available.
operator !=(TomlStringStylePreferences?, TomlStringStylePreferences?)
public static bool operator !=(TomlStringStylePreferences? left, TomlStringStylePreferences? right)No documentation is available.