5 implementations of IVersionSpecification
Microsoft.TemplateEngine.Edge (3)
Constraints\NuGetFloatRangeSpecification.cs (1)
9
internal class NuGetFloatRangeSpecification :
IVersionSpecification
Constraints\NuGetVersionRangeSpecification.cs (1)
9
internal class NuGetVersionRangeSpecification :
IVersionSpecification
Constraints\NuGetVersionSpecification.cs (1)
9
internal class NuGetVersionSpecification :
IVersionSpecification
Microsoft.TemplateEngine.Utils (2)
ExactVersionSpecification.cs (1)
6
public class ExactVersionSpecification :
IVersionSpecification
RangeVersionSpecification.cs (1)
6
public class RangeVersionSpecification :
IVersionSpecification
13 references to IVersionSpecification
Microsoft.TemplateEngine.Edge (10)
Constraints\ConstraintsExtensions.cs (4)
80
public static
IVersionSpecification
ParseVersionSpecification(this string versionString)
82
IVersionSpecification
? versionInstance = null;
96
else if (ExactVersionSpecification.TryParse(versionString, out
IVersionSpecification
? exactVersion))
100
else if (RangeVersionSpecification.TryParse(versionString, out
IVersionSpecification
? rangeVersion))
Constraints\HostConstraint.cs (2)
97
public HostInformation(string host,
IVersionSpecification
? version = null)
110
public
IVersionSpecification
? Version { get; }
Constraints\SdkVersionConstraintFactory.cs (4)
56
IReadOnlyList<
IVersionSpecification
> supportedSdks = ParseArgs(args).ToList();
58
foreach (
IVersionSpecification
supportedSdk in supportedSdks)
77
private static IReadOnlyList<string> VersionSpecificationsToStrings(IEnumerable<
IVersionSpecification
> versions)
85
private static IEnumerable<
IVersionSpecification
> ParseArgs(string? args)
Microsoft.TemplateEngine.Utils (3)
ExactVersionSpecification.cs (1)
15
public static bool TryParse(string version, out
IVersionSpecification
? specification)
RangeVersionSpecification.cs (1)
24
public static bool TryParse(string range, out
IVersionSpecification
? specification)
VersionStringHelpers.cs (1)
8
public static bool TryParseVersionSpecification(string versionString, out
IVersionSpecification
? specification)