示例#1
0
		/// ------------------------------------------------------------------------------------
		/// <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));
		}
示例#2
0
 /// ------------------------------------------------------------------------------------
 /// <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));
 }