< Summary

Information
Class: MyNet.Humanizer.Display.DisplayTextOptions
Assembly: MyNet.Humanizer
File(s): https://raw.githubusercontent.com/sandre58/MyNet/85372080fe102cd9ee155ceab49ae000e7f66103/src/MyNet.Humanizer/Display/DisplayTextOptions.cs
Tag: 323_28699572109
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 26
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.cctor()100%11100%

File(s)

https://raw.githubusercontent.com/sandre58/MyNet/85372080fe102cd9ee155ceab49ae000e7f66103/src/MyNet.Humanizer/Display/DisplayTextOptions.cs

#LineLine coverage
 1// -----------------------------------------------------------------------
 2// <copyright file="DisplayTextOptions.cs" company="Stéphane ANDRE">
 3// Copyright (c) Stéphane ANDRE. All rights reserved.
 4// </copyright>
 5// -----------------------------------------------------------------------
 6
 7using MyNet.Globalization.Localization.Translation;
 8
 9namespace MyNet.Humanizer.Display;
 10
 11/// <summary>
 12/// Options for display name generation.
 13/// </summary>
 14public class DisplayTextOptions
 15{
 16    /// <summary>
 17    /// Gets the default display name options.
 18    /// </summary>
 819    public static DisplayTextOptions Default { get; } = new();
 20
 21    /// <summary>
 22    /// Gets the display style to use when generating the display name.
 23    /// </summary>
 24    public DisplayStyle Style { get; init; }
 25}
 26

Methods/Properties

.cctor()