Class NormalizationOptions
Multi-word identifier normalization options.
public sealed class NormalizationOptions
- Inheritance
-
NormalizationOptions
- Extension Methods
Properties
Casing
Gets or sets name casing to apply.
public NameCasing Casing { get; set; }
Property Value
DontCaseAllCaps
public bool DontCaseAllCaps { get; set; }
Property Value
MaxUpperCaseWordLength
Don't case upper-case words if their length not longer than specified by MaxUpperCaseWordLength length. E.g. setting value to 2 will preserve 2-letter abbreviations like ID.
public int MaxUpperCaseWordLength { get; set; }
Property Value
Pluralization
Gets or sets name pluralization options, applied to last word in name.
public Pluralization Pluralization { get; set; }
Property Value
PluralizeOnlyIfLastWordIsText
Apply pluralization options Pluralization only if name ends with text.
public bool PluralizeOnlyIfLastWordIsText { get; set; }
Property Value
Prefix
Gets or sets optional prefix to add to normalized name.
public string? Prefix { get; set; }
Property Value
Suffix
Gets or sets optional suffix to add to normalized name.
public string? Suffix { get; set; }
Property Value
Transformation
Gets or sets name transformation mode.
public NameTransformation Transformation { get; set; }
Property Value
Methods
MergeInto(NormalizationOptions)
public NormalizationOptions MergeInto(NormalizationOptions baseOptions)
Parameters
baseOptions
NormalizationOptions