< Summary

Information
Class: MyNet.Globalization.Culture.SupportedCultures
Assembly: MyNet.Globalization
File(s): https://raw.githubusercontent.com/sandre58/MyNet/85372080fe102cd9ee155ceab49ae000e7f66103/src/MyNet.Globalization/Culture/SupportedCultures.cs
Tag: 323_28699572109
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
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.Globalization/Culture/SupportedCultures.cs

#LineLine coverage
 1// -----------------------------------------------------------------------
 2// <copyright file="SupportedCultures.cs" company="Stéphane ANDRE">
 3// Copyright (c) Stéphane ANDRE. All rights reserved.
 4// </copyright>
 5// -----------------------------------------------------------------------
 6
 7using System.Globalization;
 8
 9namespace MyNet.Globalization.Culture;
 10
 11/// <summary>
 12/// Provides a set of predefined supported cultures for use in globalization and localization scenarios.
 13/// </summary>
 14public static class SupportedCultures
 15{
 16    /// <summary>
 17    /// Represents the French culture, which is commonly used in many countries around the world, including France, Cana
 18    /// </summary>
 1619    public static readonly CultureInfo French = CultureInfo.GetCultureInfo("fr");
 20
 21    /// <summary>
 22    /// Represents the English culture, which is widely used in many countries, including the United States, the United 
 23    /// </summary>
 1624    public static readonly CultureInfo English = CultureInfo.GetCultureInfo("en");
 25}
 26

Methods/Properties

.cctor()