logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Enum SingletonSelectionOutcome

    How Pick<T>(IReadOnlyList<T>, Func<T, bool>, Func<T, string>, out SingletonSelectionOutcome) resolved a set of candidates for a singleton settings type.

    Namespace: Serenity.Shared.Utils
    Assembly: Serenity.Shared.dll
    Syntax
    public enum SingletonSelectionOutcome

    Fields

    Name Description
    AmbiguousProjectOwned

    Two or more candidates were project-owned; the lowest-Id one was returned, but the situation is a genuine authoring conflict the caller should surface.

    None

    No candidates were supplied.

    ProjectOwnedWins

    Exactly one candidate was project-owned; it beat every shipped candidate.

    ShippedFallback

    No candidate was project-owned; the lowest-Id shipped candidate was returned.

    Single

    Exactly one candidate existed; it was returned regardless of ownership.

    In this article
    © 2026 Serenity. All Rights Reserved