LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Class HookConfigurationBuilder

    HookConfigurationBuilder is a builder for the SDK's hook configuration.

    Inheritance
    object
    HookConfigurationBuilder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: LaunchDarkly.Sdk.Server.Integrations
    Assembly: LaunchDarkly.ServerSdk.dll
    Syntax
    public sealed class HookConfigurationBuilder

    Constructors

    | Edit this page View Source

    HookConfigurationBuilder()

    Constructs a configuration representing no hooks by default.

    Declaration
    public HookConfigurationBuilder()
    | Edit this page View Source

    HookConfigurationBuilder(IEnumerable<Hook>)

    Constructs a configuration from an existing collection of hooks.

    Declaration
    public HookConfigurationBuilder(IEnumerable<Hook> hooks)
    Parameters
    Type Name Description
    IEnumerable<Hook> hooks

    the collection of hooks

    Methods

    | Edit this page View Source

    Add(Hook)

    Adds a hook to the configuration. Hooks are executed in the order they are added; see Hook.

    Declaration
    public HookConfigurationBuilder Add(Hook hook)
    Parameters
    Type Name Description
    Hook hook

    the hook

    Returns
    Type Description
    HookConfigurationBuilder

    the builder

    | Edit this page View Source

    Build()

    Builds the configuration.

    Declaration
    public HookConfiguration Build()
    Returns
    Type Description
    HookConfiguration

    the build configuration

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