Edit

Share via


TaskVersionSpec Class

Definition

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 String.

Applies to