Class SemVersionExtension
- Namespace
- Huddly.Sdk.Extensions
- Assembly
- Huddly.Sdk.dll
[Obsolete("Avoid comparing SemVersions, use FirmwareVersion.CompareTo. Method will be removed in SDK version 3.")]
public static class SemVersionExtension
- Inheritance
-
SemVersionExtension
- Inherited Members
Methods
EqualTo(SemVersion, SemVersion)
Returns version equality without taking SemVer metadata into account
[Obsolete("Avoid comparing SemVersions, use FirmwareVersion.CompareTo. Method will be removed in SDK version 3.")]
public static bool EqualTo(this SemVersion current, SemVersion other)
Parameters
current
SemVersionother
SemVersion
Returns
GreaterThan(SemVersion, SemVersion)
[Obsolete("Avoid comparing SemVersions, use FirmwareVersion.CompareTo. Method will be removed in SDK version 3.")]
public static bool GreaterThan(this SemVersion current, SemVersion other)
Parameters
current
SemVersionother
SemVersion
Returns
GreaterThanOrEqualTo(SemVersion, SemVersion)
[Obsolete("Avoid comparing SemVersions, use FirmwareVersion.CompareTo. Method will be removed in SDK version 3.")]
public static bool GreaterThanOrEqualTo(this SemVersion current, SemVersion other)
Parameters
current
SemVersionother
SemVersion
Returns
LessThan(SemVersion, SemVersion)
[Obsolete("Avoid comparing SemVersions, use FirmwareVersion.CompareTo. Method will be removed in SDK version 3.")]
public static bool LessThan(this SemVersion current, SemVersion other)
Parameters
current
SemVersionother
SemVersion
Returns
LessThanOrEqualTo(SemVersion, SemVersion)
[Obsolete("Avoid comparing SemVersions, use FirmwareVersion.CompareTo. Method will be removed in SDK version 3.")]
public static bool LessThanOrEqualTo(this SemVersion current, SemVersion other)
Parameters
current
SemVersionother
SemVersion