LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Class MigrationOriginExtensions

    Extension methods for migration origins.

    Inheritance
    object
    MigrationOriginExtensions
    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 MigrationOriginExtensions

    Methods

    | Edit this page View Source

    FromDataModelString(string)

    Convert a string value into an origin.

    Declaration
    public static MigrationOrigin? FromDataModelString(string stringOrigin)
    Parameters
    Type Name Description
    string stringOrigin

    the origin as a string

    Returns
    Type Description
    MigrationOrigin?

    a migration origin, or null if it cannot be converted

    | Edit this page View Source

    ToDataModelString(MigrationOrigin)

    Get a string value for an origin.

    Declaration
    public static string ToDataModelString(this MigrationOrigin origin)
    Parameters
    Type Name Description
    MigrationOrigin origin

    the origin to get a string value for

    Returns
    Type Description
    string

    a string for the migration origin

    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