public bool Match(VersionInformation other)
 {
     return(other.Name == Name &&
            other.Major == Major &&
            other.Minor == Minor &&
            other.Build == Build);
 }
Ejemplo n.º 2
0
 public bool Match(VersionInformation other, bool looseMatch)
 {
     if (looseMatch)
     {
         return(other.Name == this.Name && other.Major == this.Major && other.Minor == this.Minor);
     }
     return(other.Name == this.Name && other.Major == this.Major && other.Minor == this.Minor && other.Patch == this.Patch);
 }
Ejemplo n.º 3
0
 public bool Match(VersionInformation other, bool looseMatch)
 {
     if (looseMatch)
     {
         return other.Name == this.Name && other.Major == this.Major && other.Minor == this.Minor;
     }
     return other.Name == this.Name && other.Major == this.Major && other.Minor == this.Minor && other.Patch == this.Patch;
 }
Ejemplo n.º 4
0
 public bool Match(VersionInformation other, bool looseMatch)
 {
     if (looseMatch)
     {
         return(other.Name == Name &&
                other.Major == Major &&
                other.Minor == Minor);
     }
     else
     {
         return(other.Name == Name &&
                other.Major == Major &&
                other.Minor == Minor &&
                other.Patch == Patch);
     }
 }
Ejemplo n.º 5
0
 public bool Match(VersionInformation other, bool looseMatch)
 {
     if(looseMatch)
     {
         return other.Name == Name &&
                other.Major == Major &&
                other.Minor == Minor;
     }
     else
     {
         return other.Name == Name &&
                other.Major == Major &&
                other.Minor == Minor &&
                other.Patch == Patch;
     }
 }