KnownNamingPolicy Enum
Definition
- Namespace
- Bodu.Text.Serialization
- Assembly
- Bodu.Text.Serialization.dll
- Package
- Bodu.Text.Serialization 1.0.0
- Source
- KnownNamingPolicy.cs
Identifies one of the built-in NamingPolicy singletons by name, so a type can select a naming policy declaratively through NamingPolicyAttribute.
public enum KnownNamingPolicy
- Extension Methods
Fields
Unspecified = 0No naming policy is selected; the member's CLR name or the options-level policy applies.
CamelCase = 1Selects CamelCase.
SnakeCaseLower = 2Selects SnakeCaseLower.
SnakeCaseUpper = 3Selects SnakeCaseUpper.
KebabCaseLower = 4Selects KebabCaseLower.
KebabCaseUpper = 5Selects KebabCaseUpper.
Remarks
Each named value other than Unspecified corresponds to the like-named static property on NamingPolicy.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |