TaskVersionSpec Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public sealed class TaskVersionSpec
type TaskVersionSpec = class
Public NotInheritable Class TaskVersionSpec
- Inheritance
-
TaskVersionSpec
Constructors
TaskVersionSpec() |
Properties
IsTest |
Gets or sets a value locking the semantic version to test. |
Major |
Gets or sets the major version component. |
Minor |
Gets or sets the minor version component. |
Patch |
Gets or sets the patch version component. |
Methods
Match(IEnumerable<TaskDefinition>) | |
Match(IEnumerable<TaskVersion>) |
Finds the closest version match for the current specification. If no match can be found then a null value is returned. |
Parse(String) | |
ToString() |
Provides a string representation of the version specification. |
TryParse(String, TaskVersionSpec) |
Operators
Explicit(String to TaskVersionSpec) |
Provides an explicit conversion constructor for converting from a |