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