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.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class SemanticVersion : IEquatable<SemanticVersion>

Constructors

| Improve this Doc View Source

SemanticVersion(Int32, Int32, Int32)

Public Constructor, an

SemanticVersion
is immutable after creation.

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

Major Version Number.

Int32 minor

Minor Version Number.

Int32 patch

Patch Version Number

Properties

| Improve this Doc View Source

Major

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

Declaration
public int Major { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Minor

Minor verion 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
Int32
| Improve this Doc View Source

None

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

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

Patch

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

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

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top .NET Client Library for Hedera Hashgraph