LaunchDarkly Dotnet Server AI SDK
Search Results for

    Show / Hide Table of Contents

    Interface ILaunchDarklyClient

    Interface representing capabilities needed by the AI Client. These are usually provided by the LaunchDarkly Server SDK.

    Namespace: LaunchDarkly.Sdk.Server.Ai.Interfaces
    Assembly: LaunchDarkly.ServerSdk.Ai.dll
    Syntax
    public interface ILaunchDarklyClient

    Methods

    | Edit this page View Source

    GetLogger()

    Returns a logger.

    Declaration
    ILogger GetLogger()
    Returns
    Type Description
    ILogger

    a logger

    | Edit this page View Source

    JsonVariation(string, Context, LdValue)

    Returns a JSON variation.

    Declaration
    LdValue JsonVariation(string key, Context context, LdValue defaultValue)
    Parameters
    Type Name Description
    string key

    the flag key

    Context context

    the context

    LdValue defaultValue

    the default value

    Returns
    Type Description
    LdValue

    the evaluation result

    | Edit this page View Source

    Track(string, Context, LdValue, double)

    Tracks a metric.

    Declaration
    void Track(string name, Context context, LdValue data, double metricValue)
    Parameters
    Type Name Description
    string name

    metric name

    Context context

    context

    LdValue data

    associated data

    double metricValue

    metric value

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX