< Summary

Information
Class: TeleFlow.Telegram.I18n.TelegramI18nOptions
Assembly: TeleFlow.Framework.I18n
File(s): /_/src/TeleFlow.Framework.I18n/TelegramI18nOptions.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 12
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
.ctor()100%11100%

File(s)

/_/src/TeleFlow.Framework.I18n/TelegramI18nOptions.cs

#LineLine coverage
 1namespace TeleFlow.Telegram.I18n;
 2
 3/// <summary>
 4/// Configures engine-neutral Telegram locale resolution before the update reaches application middleware and handlers.
 5/// </summary>
 6public sealed class TelegramI18nOptions
 7{
 8    /// <summary>
 9    /// Gets or sets the locale used when custom resolvers and Telegram user metadata provide no valid decision.
 10    /// </summary>
 3011    public Locale FallbackLocale { get; set; } = new("en");
 12}

Methods/Properties

.ctor()