/// ------------------------------------------------------------------------------------ /// <summary> /// Returns true if the contents of this License are the same as those of the /// specified License. /// </summary> /// ------------------------------------------------------------------------------------ public bool AreContentsEqual(License other) { // TODO: compare logo images. return (other != null && Name.Equals(other.Name) && Url.Equals(other.Url)); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Returns true if the contents of this License are the same as those of the /// specified License. /// </summary> /// ------------------------------------------------------------------------------------ public bool AreContentsEqual(License other) { // TODO: compare logo images. return(other != null && Name.Equals(other.Name) && Url.Equals(other.Url)); }