Search Results for

    Show / Hide Table of Contents
    View Source

    Class VersionExtensions

    Inheritance
    System.Object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class VersionExtensions

    Methods

    View Source

    GetVersion(SemVersion, Int32)

    Declaration
    public static Version GetVersion(this SemVersion semVersion, int maxParts = 4)
    Parameters
    Type Name Description
    SemVersion semVersion
    System.Int32 maxParts
    Returns
    Type Description
    Version
    View Source

    SubtractRevision(Version)

    Declaration
    public static Version SubtractRevision(this Version version)
    Parameters
    Type Name Description
    Version version
    Returns
    Type Description
    Version
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GetVersion(SemVersion, Int32)
      • SubtractRevision(Version)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX