public bool IsNewerThan(AddonObject other) { if (semversion == null) { InitSemver(); } if (other.semversion == null) { other.InitSemver(); } if (semversion.CompareTo(other.semversion) < 1) { return(false); } return(true); }
public bool IsSameAs(AddonObject other) { if (semversion == null) { InitSemver(); } if (other.semversion == null) { other.InitSemver(); } if (semversion.CompareTo(other.semversion) != 0) { return(false); } return(true); }