logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class LocalePreviewMatcherTests

    Inheritance
    object
    LocalePreviewMatcherTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Shared.Tests.Utils
    Assembly: Tests.dll
    Syntax
    public class LocalePreviewMatcherTests

    Constructors

    LocalePreviewMatcherTests()

    Declaration
    public LocalePreviewMatcherTests()

    Methods

    SelectBestTranslation_Should_FallBackToEnglish_When_NoExactMatch()

    Declaration
    public void SelectBestTranslation_Should_FallBackToEnglish_When_NoExactMatch()

    SelectBestTranslation_Should_FallBackToFirstNonEmpty_When_NoExactOrEnglishMatch()

    Declaration
    public void SelectBestTranslation_Should_FallBackToFirstNonEmpty_When_NoExactOrEnglishMatch()

    SelectBestTranslation_Should_MatchLocaleCode_CaseInsensitively()

    Declaration
    public void SelectBestTranslation_Should_MatchLocaleCode_CaseInsensitively()

    SelectBestTranslation_Should_PreferExactMatch_Over_English()

    Declaration
    public void SelectBestTranslation_Should_PreferExactMatch_Over_English()

    SelectBestTranslation_Should_ReturnNull_When_CandidatesIsNull()

    Declaration
    public void SelectBestTranslation_Should_ReturnNull_When_CandidatesIsNull()

    SelectBestTranslation_Should_ReturnNull_When_NoCandidatesHaveValues()

    Declaration
    public void SelectBestTranslation_Should_ReturnNull_When_NoCandidatesHaveValues()
    In this article
    © 2026 Serenity. All Rights Reserved