LaunchDarkly Dotnet Client SDK
Search Results for

    Show / Hide Table of Contents

    Class DataSourceStatusExtensions

    Extension helper methods for use with data source status types.

    Inheritance
    object
    DataSourceStatusExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: LaunchDarkly.Sdk.Client.Interfaces
    Assembly: LaunchDarkly.ClientSdk.dll
    Syntax
    public static class DataSourceStatusExtensions

    Methods

    | Edit this page View Source

    Identifier(DataSourceState)

    Returns a standardized string identifier for a DataSourceState.

    Declaration
    public static string Identifier(this DataSourceState state)
    Parameters
    Type Name Description
    DataSourceState state

    a state value

    Returns
    Type Description
    string

    a string identifier

    Remarks

    These Java-style uppercase identifiers (INITIALIZING, VALID, etc.) may be used in logging for consistency across SDKs.

    | Edit this page View Source

    Identifier(ErrorKind)

    Returns a standardized string identifier for a DataSourceStatus.ErrorKind.

    Declaration
    public static string Identifier(this DataSourceStatus.ErrorKind errorKind)
    Parameters
    Type Name Description
    DataSourceStatus.ErrorKind errorKind

    an error kind value

    Returns
    Type Description
    string

    a string identifier

    Remarks

    These Java-style uppercase identifiers (ERROR_RESPONSE, NETWORK_ERROR, etc.) may be used in logging for consistency across SDKs.

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