Show / Hide Table of Contents

Class SemanticVersion

Represents a Semantic Version Number (major, minor, patch)

Inheritance
object
SemanticVersion
Implements
IEquatable<SemanticVersion>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Hiero
Assembly: Hiero.dll
Syntax
public sealed record SemanticVersion : IEquatable<SemanticVersion>

Constructors

| Edit this page View Source

SemanticVersion(int, int, int)

Public Constructor, an 
SemanticVersion

is immutable after creation.

Declaration
public SemanticVersion(int major, int minor, int patch)
Parameters
Type Name Description
int major

Major Version Number.

int minor

Minor Version Number.

int patch

Patch Version Number

Properties

| Edit this page View Source

Major

Major version number. Changes between major version numbers indicate incompatible API Changes.

Declaration
public int Major { get; }
Property Value
Type Description
int
| Edit this page View Source

Minor

Minor version number. Changes between minor version numbers indicate additions to the API and other backwards compatible changes.

Declaration
public int Minor { get; }
Property Value
Type Description
int
| Edit this page View Source

None

A special designation of a semantic version that can't be created. It represents the absence of version information. It will resolve to the values of 0, 0, 0.

Declaration
public static SemanticVersion None { get; }
Property Value
Type Description
SemanticVersion
| Edit this page View Source

Patch

Patch version number. Changes between patch versions indicate backwards compatible bug fixes.

Declaration
public int Patch { get; }
Property Value
Type Description
int

Implements

IEquatable<T>
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph