logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct LeaderboardRowContent

    Already-formatted display text for one leaderboard row, one cell per visible column, ready to render without any further lookup or formatting. Produced by LeaderboardRowContentMapper from a ranked domain entry and a LeaderboardColumnLayout.

    Implements
    IEquatable<LeaderboardRowContent>
    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.Leaderboard.Infrastructure.Views
    Assembly: Serenity.UnityLeaderboard.Infrastructure.dll
    Syntax
    public readonly struct LeaderboardRowContent : IEquatable<LeaderboardRowContent>

    Constructors

    LeaderboardRowContent(params string[])

    Creates a row from its already-formatted cell text, one per visible column, in column order.

    Declaration
    public LeaderboardRowContent(params string[] cells)
    Parameters
    Type Name Description
    string[] cells

    The row's cell text.

    Properties

    CellCount

    How many cells this row has.

    Declaration
    public int CellCount { get; }
    Property Value
    Type Description
    int

    Cells

    This row's cells, one per visible column, in column order.

    Declaration
    public IReadOnlyList<string> Cells { get; }
    Property Value
    Type Description
    IReadOnlyList<string>

    Methods

    CellAt(int)

    The cell text at index, or "" when the index is out of range.

    Declaration
    public string CellAt(int index)
    Parameters
    Type Name Description
    int index
    Returns
    Type Description
    string

    Equals(LeaderboardRowContent)

    Declaration
    public bool Equals(LeaderboardRowContent other)
    Parameters
    Type Name Description
    LeaderboardRowContent other
    Returns
    Type Description
    bool

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    Operators

    operator ==(LeaderboardRowContent, LeaderboardRowContent)

    Declaration
    public static bool operator ==(LeaderboardRowContent left, LeaderboardRowContent right)
    Parameters
    Type Name Description
    LeaderboardRowContent left
    LeaderboardRowContent right
    Returns
    Type Description
    bool

    operator !=(LeaderboardRowContent, LeaderboardRowContent)

    Declaration
    public static bool operator !=(LeaderboardRowContent left, LeaderboardRowContent right)
    Parameters
    Type Name Description
    LeaderboardRowContent left
    LeaderboardRowContent right
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    In this article
    © 2026 Serenity. All Rights Reserved