Search Results for

    Show / Hide Table of Contents

    Interface IRankService

    Gets rank information

    Namespace: DirectScale.Disco.Extension.Services
    Assembly: DirectScale.Disco.Extension.Abstractions.dll
    Syntax
    public interface IRankService

    Methods

    GetRankName(Int32)

    Finds a specific rank by id.

    Declaration
    Task<string> GetRankName(int rank)
    Parameters
    Type Name Description
    System.Int32 rank

    The rank id

    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>

    The name of the rank Name rank.ToString() if rank is not found.

    GetRanks()

    Reads ranks from DB.

    Declaration
    Task<Rank[]> GetRanks()
    Returns
    Type Description
    System.Threading.Tasks.Task<Rank[]>

    All ranks as an array. Null if none are found.

    See Also
    Rank
    In This Article
    Back to top Copyright © 2022 DirectScale
    Generated by DocFX