CsvNamingPolicy Class
Determines the naming policy used to convert a CLR member name to a CSV column name.
public abstract class CsvNamingPolicyConstructors
| Name | Description |
|---|---|
| CsvNamingPolicy() | Initializes a new instance of the CsvNamingPolicy class. |
CsvNamingPolicy()
CsvNamingPolicy.csInitializes a new instance of the CsvNamingPolicy class.
protected CsvNamingPolicy()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
CsvNamingPolicy.csKebabCaseLower
CsvNamingPolicy.csGets the naming policy for kebab-case (lowercase).
public static CsvNamingPolicy KebabCaseLower { get; }Property value
KebabCaseUpper
CsvNamingPolicy.csGets the naming policy for KEBAB-CASE (uppercase).
public static CsvNamingPolicy KebabCaseUpper { get; }Property value
PascalCase
CsvNamingPolicy.csGets the naming policy for PascalCase.
public static CsvNamingPolicy PascalCase { get; }Property value
SnakeCaseLower
CsvNamingPolicy.csGets the naming policy for snake_case (lowercase).
public static CsvNamingPolicy SnakeCaseLower { get; }Property value
SnakeCaseUpper
CsvNamingPolicy.csGets the naming policy for SNAKE_CASE (uppercase).
public static CsvNamingPolicy SnakeCaseUpper { get; }Property value
Methods
| Name | Description |
|---|---|
| ConvertName(string) | Converts the specified name according to the policy. |