TomlNamingPolicy Class
Determines the naming policy used to convert a CLR member name to a TOML key.
public abstract class TomlNamingPolicyConstructors
| Name | Description |
|---|---|
| TomlNamingPolicy() | Initializes a new instance of the TomlNamingPolicy class. |
TomlNamingPolicy()
TomlNamingPolicy.csInitializes a new instance of the TomlNamingPolicy class.
protected TomlNamingPolicy()Properties
| Name | Description |
|---|---|
| CamelCase | Gets the naming policy for camelCase. |
| KebabCaseLower | Gets the naming policy for kebab-case (lowercase). |
| KebabCaseUpper | Gets the naming policy for KEBAB-CASE (uppercase). |
| PascalCase | Gets the naming policy for PascalCase. |
| SnakeCaseLower | Gets the naming policy for snake_case (lowercase). |
| SnakeCaseUpper | Gets the naming policy for SNAKE_CASE (uppercase). |
CamelCase
TomlNamingPolicy.csGets the naming policy for camelCase.
public static TomlNamingPolicy CamelCase { get; }Property value
KebabCaseLower
TomlNamingPolicy.csGets the naming policy for kebab-case (lowercase).
public static TomlNamingPolicy KebabCaseLower { get; }Property value
KebabCaseUpper
TomlNamingPolicy.csGets the naming policy for KEBAB-CASE (uppercase).
public static TomlNamingPolicy KebabCaseUpper { get; }Property value
PascalCase
TomlNamingPolicy.csGets the naming policy for PascalCase.
public static TomlNamingPolicy PascalCase { get; }Property value
SnakeCaseLower
TomlNamingPolicy.csGets the naming policy for snake_case (lowercase).
public static TomlNamingPolicy SnakeCaseLower { get; }Property value
SnakeCaseUpper
TomlNamingPolicy.csGets the naming policy for SNAKE_CASE (uppercase).
public static TomlNamingPolicy SnakeCaseUpper { get; }Property value
Methods
| Name | Description |
|---|---|
| ConvertName(string) | Converts the specified name according to the policy. |