LaunchDarkly Dotnet Client SDK
Search Results for

    Show / Hide Table of Contents

    Class EnvironmentReporterBuilder

    EnvironmentReporterBuilder constructs an IEnvironmentReporter that is capable of returning properties associated with the runtime environment of the SDK.

    Inheritance
    object
    EnvironmentReporterBuilder
    Inherited Members
    object.GetType()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LaunchDarkly.Sdk.EnvReporting
    Assembly: LaunchDarkly.CommonSdk.dll
    Syntax
    public sealed class EnvironmentReporterBuilder

    Constructors

    EnvironmentReporterBuilder()

    Declaration
    public EnvironmentReporterBuilder()

    Methods

    Build()

    Builds an IEnvironmentReporter, which can be used to obtain information about the runtime environment of the SDK.

    Declaration
    public IEnvironmentReporter Build()
    Returns
    Type Description
    IEnvironmentReporter

    SetConfigLayer(Layer)

    Sets the properties that come from the user-provided SDK configuration. Properties in this layer will always override properties from the platform layer.

    Declaration
    public EnvironmentReporterBuilder SetConfigLayer(Layer config)
    Parameters
    Type Name Description
    Layer config

    the Layer.

    Returns
    Type Description
    EnvironmentReporterBuilder

    the EnvironmentReporterBuilder.

    SetPlatformLayer(Layer)

    Sets the properties that come from the platform-specific runtime information. Properties in this layer will always override properties from the default layer (provisioned by this build.)

    Declaration
    public EnvironmentReporterBuilder SetPlatformLayer(Layer platform)
    Parameters
    Type Name Description
    Layer platform

    the Layer.

    Returns
    Type Description
    EnvironmentReporterBuilder

    the EnvironmentReporterBuilder.

    SetSdkLayer(Layer)

    Sets the properties that come from the SDK that is using this EnvironmentReporterBuilder. Properties in this layer will always override properties from the default layer.

    Declaration
    public EnvironmentReporterBuilder SetSdkLayer(Layer sdkLayer)
    Parameters
    Type Name Description
    Layer sdkLayer

    the Layer.

    Returns
    Type Description
    EnvironmentReporterBuilder
    In this article
    Back to top Generated by DocFX