View Source
Class VersionExtensions
Inheritance
System.Object
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
View Source
SubtractRevision(Version)
Declaration
public static Version SubtractRevision(this Version version)
Parameters
Type |
Name |
Description |
Version |
version |
|
Returns