public bool Match(VersionInformation other) { return(other.Name == Name && other.Major == Major && other.Minor == Minor && other.Build == Build); }
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); }
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; }
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); } }
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; } }