Table of Contents

Constructor SemanticVersion

Namespace
MongoDB.Driver.Core.Misc
Assembly
MongoDB.Driver.Core.dll

SemanticVersion(int, int, int)

Initializes a new instance of the SemanticVersion class.

public SemanticVersion(int major, int minor, int patch)

Parameters

major int

The major version.

minor int

The minor version.

patch int

The patch version.

SemanticVersion(int, int, int, string)

Initializes a new instance of the SemanticVersion class.

public SemanticVersion(int major, int minor, int patch, string preRelease)

Parameters

major int

The major version.

minor int

The minor version.

patch int

The patch version.

preRelease string

The pre release version.