protected bool Equals(VersionConstraint other) { return(Equals(_min, other._min) && Equals(_max, other._max)); }
static VersionConstraint() { DefaultFloat = new VersionConstraint(VersionToken.Current); DefaultFixed = new VersionConstraint(VersionToken.Current, VersionToken.NextMajor); }
protected bool Equals(VersionConstraint other) { return Equals(_min, other._min) && Equals(_max, other._max); }
public NuspecDependencyToken(Dependency dependency, SemanticVersion version, VersionConstraint constraint) { Constraint = constraint; Version = version; Dependency = dependency; }
public NuspecDependencyToken(string dependency, SemanticVersion version, VersionConstraint constraint) : this(new Dependency(dependency), version, constraint) { }