LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Class MigrationOperationExtensions

    Extension methods for migration operations.

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

    Methods

    | Edit this page View Source

    FromDataModelString(string)

    Convert a string value into an operation.

    Declaration
    public static MigrationOperation? FromDataModelString(string stringOperation)
    Parameters
    Type Name Description
    string stringOperation

    the operation as a string

    Returns
    Type Description
    MigrationOperation?

    a migration operation, or null if it cannot be converted

    | Edit this page View Source

    ToDataModelString(MigrationOperation)

    Get a string value for an operation.

    Declaration
    public static string ToDataModelString(this MigrationOperation operation)
    Parameters
    Type Name Description
    MigrationOperation operation

    the operation to get a string value for

    Returns
    Type Description
    string

    a string for the migration operation

    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