Exemplo n.º 1
0
 protected bool Equals(VersionConstraint other)
 {
     return(Equals(_min, other._min) && Equals(_max, other._max));
 }
Exemplo n.º 2
0
 static VersionConstraint()
 {
     DefaultFloat = new VersionConstraint(VersionToken.Current);
     DefaultFixed = new VersionConstraint(VersionToken.Current, VersionToken.NextMajor);
 }
Exemplo n.º 3
0
 protected bool Equals(VersionConstraint other)
 {
     return Equals(_min, other._min) && Equals(_max, other._max);
 }
Exemplo n.º 4
0
 static VersionConstraint()
 {
     DefaultFloat = new VersionConstraint(VersionToken.Current);
     DefaultFixed = new VersionConstraint(VersionToken.Current, VersionToken.NextMajor);
 }
Exemplo n.º 5
0
 public NuspecDependencyToken(Dependency dependency, SemanticVersion version, VersionConstraint constraint)
 {
     Constraint = constraint;
     Version = version;
     Dependency = dependency;
 }
Exemplo n.º 6
0
 public NuspecDependencyToken(string dependency, SemanticVersion version, VersionConstraint constraint)
     : this(new Dependency(dependency), version, constraint)
 {
 }