Table of Contents

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 = 0

No naming policy is selected; the member's CLR name or the options-level policy applies.

CamelCase = 1

Selects CamelCase.

SnakeCaseLower = 2

Selects SnakeCaseLower.

SnakeCaseUpper = 3

Selects SnakeCaseUpper.

KebabCaseLower = 4

Selects KebabCaseLower.

KebabCaseUpper = 5

Selects KebabCaseUpper.

Remarks

Each named value other than Unspecified corresponds to the like-named static property on NamingPolicy.

Applies to

ProductVersions
.NET8, 10