LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Class MigrationStageExtensions

    Extension methods for migration stages.

    Inheritance
    object
    MigrationStageExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: LaunchDarkly.Sdk.Server.Migrations
    Assembly: LaunchDarkly.ServerSdk.dll
    Syntax
    public static class MigrationStageExtensions

    Methods

    | Edit this page View Source

    FromDataModelString(string)

    Convert a string value into a stage.

    Declaration
    public static MigrationStage? FromDataModelString(string stringStage)
    Parameters
    Type Name Description
    string stringStage
    Returns
    Type Description
    MigrationStage?

    a migration stage, or null if it cannot be converted

    | Edit this page View Source

    ToDataModelString(MigrationStage)

    Get a string value for a stage.

    Declaration
    public static string ToDataModelString(this MigrationStage stage)
    Parameters
    Type Name Description
    MigrationStage stage

    the stage to get a string value for

    Returns
    Type Description
    string

    a string for the migration stage

    Remarks

    This is a string value that matches that in the data model.

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