LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Struct MigrationVariation

    The result of an MigrationVariation call.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: LaunchDarkly.Sdk.Server.Migrations
    Assembly: LaunchDarkly.ServerSdk.dll
    Syntax
    public readonly struct MigrationVariation

    Properties

    | Edit this page View Source

    Stage

    The result of the flag evaluation. This will be either one of the flag's variations or the default value that was passed to MigrationVariation.

    Declaration
    public MigrationStage Stage { get; }
    Property Value
    Type Description
    MigrationStage
    | Edit this page View Source

    Tracker

    A tracker which can be used to generate analytics for the migration.

    Declaration
    public MigrationOpTracker Tracker { get; }
    Property Value
    Type Description
    MigrationOpTracker

    Methods

    | Edit this page View Source

    Deconstruct(out MigrationStage, out MigrationOpTracker)

    Deconstruct the MigrationVariation into the stage and tracker.

    Declaration
    public void Deconstruct(out MigrationStage stage, out MigrationOpTracker tracker)
    Parameters
    Type Name Description
    MigrationStage stage

    the stage of the variation

    MigrationOpTracker tracker

    the tracker for the variation

    Remarks
    var (stage, tracker) = client.MigrationVariation(flagKey, context, defaultStage);
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX