VersionSpec Class |
Namespace: semver.tools
The VersionSpec type exposes the following members.
Name | Description | |
---|---|---|
![]() | VersionSpec |
Parameterless constructor.
|
![]() | VersionSpec(SemanticVersion) |
Constructs a version spec that contains just one version.
|
![]() | VersionSpec(SemanticVersion, Boolean, SemanticVersion, Boolean) |
Constructs a version spec.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | ParseNuGet |
Parses a string with a version spec in NuGet format.
See http://docs.nuget.org/docs/reference/versioning
|
![]() | PrettyPrint |
Returns a string with a nice human readable bit of text describing the version spec.
|
![]() | Satisfies |
Returns true if the specified version is within the version spec.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | ToStringNuGet |
Returns a string representing the version spec in NuGet format.
See http://docs.nuget.org/docs/reference/versioning
|
![]() ![]() | TryParseNuGet |
Attempts to parse a string with a version spec in NuGet format.
See http://docs.nuget.org/docs/reference/versioning
|
Name | Description | |
---|---|---|
![]() | IsMaxInclusive |
True if maxVersion is included in the version spec.
False if only versions lower (but not equal) to maxVersion are in the version spec.
|
![]() | IsMinInclusive |
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 |
Upper bound of the version spec.
|
![]() | MinVersion |
Lower bound of the version spec.
|