Search Results for

    Show / Hide Table of Contents
    View Source

    Class SemVersionExtensions

    Provides extension methods for SemVersion.

    Inheritance
    object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class SemVersionExtensions

    Methods

    View Source

    ToSemanticString(SemVersion)

    Converts the semantic version to a properly formatted semantic version string.

    Declaration
    public static string ToSemanticString(this SemVersion semVersion)
    Parameters
    Type Name Description
    SemVersion semVersion

    The semantic version.

    Returns
    Type Description
    string

    The semantic version string with corrected formatting.

    View Source

    ToSemanticStringWithoutBuild(SemVersion)

    Converts the semantic version to a string without the build metadata.

    Declaration
    public static string ToSemanticStringWithoutBuild(this SemVersion semVersion)
    Parameters
    Type Name Description
    SemVersion semVersion

    The semantic version.

    Returns
    Type Description
    string

    The semantic version string without build metadata.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX