Table of Contents

SentenceCaseOptions Enum

Definition

Namespace
Bodu.Extensions
Assembly
Bodu.Core.dll
Package
Bodu.Core 1.0.1
Source
SentenceCaseOptions.cs

Tunes the behaviour of ToSentenceCase(string, SentenceCaseOptions) beyond the plain capitalise-first-letter-of-each-sentence default.

[Flags]
public enum SentenceCaseOptions
Attributes
Extension Methods

Fields

None = 0

Default behaviour: capitalise the first letter of each sentence and lower-case every other letter.

PreserveAcronyms = 1

Preserve fully-uppercase words as acronyms rather than down-casing them within a sentence.

Applies to

ProductVersions
.NET8, 10