VersionSpec Constructor (SemanticVersion, Boolean, SemanticVersion, Boolean) |
Constructs a version spec.
Namespace: semver.toolsAssembly: semver.tools (in semver.tools.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic VersionSpec(
SemanticVersion minVersion,
bool isMinInclusive,
SemanticVersion maxVersion,
bool isMaxInclusive
)
Public Sub New (
minVersion As SemanticVersion,
isMinInclusive As Boolean,
maxVersion As SemanticVersion,
isMaxInclusive As Boolean
)
public:
VersionSpec(
SemanticVersion^ minVersion,
bool isMinInclusive,
SemanticVersion^ maxVersion,
bool isMaxInclusive
)
new :
minVersion : SemanticVersion *
isMinInclusive : bool *
maxVersion : SemanticVersion *
isMaxInclusive : bool -> VersionSpec
Parameters
- minVersion
- Type: semver.toolsSemanticVersion
Lower bound of the version spec. - isMinInclusive
- Type: SystemBoolean
True if minVersion is included in the version spec.
False if only versions higher (but not equal) to minVersion are in the version spec.
- maxVersion
- Type: semver.toolsSemanticVersion
Upper bound of the version spec. - isMaxInclusive
- Type: SystemBoolean
True if maxVersion is included in the version spec.
False if only versions lower (but not equal) to maxVersion are in the version spec.
See Also