Search Results for

    Show / Hide Table of Contents

    Class CreditService

    Inheritance
    object
    CrudServiceBase<OpenRouterClient>
    CreditService
    Implements
    ICrudService
    Inherited Members
    CrudServiceBase<OpenRouterClient>.client
    CrudServiceBase<OpenRouterClient>.ApiKey
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.OpenRouter.Services
    Assembly: Glitch9.AIDevKit.Provider.OpenRouter.dll
    Syntax
    public sealed class CreditService : CrudServiceBase<OpenRouterClient>, ICrudService

    Constructors

    | Edit this page View Source

    CreditService(OpenRouterClient)

    Declaration
    public CreditService(OpenRouterClient client)
    Parameters
    Type Name Description
    OpenRouterClient client

    Methods

    | Edit this page View Source

    GetCreditsAsync(RequestOptions)

    Declaration
    public UniTask<OpenRouterCreditInfo> GetCreditsAsync(RequestOptions options = null)
    Parameters
    Type Name Description
    RequestOptions options
    Returns
    Type Description
    UniTask<OpenRouterCreditInfo>

    Implements

    ICrudService

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation