Ejemplo n.º 1
0
 /// <summary>
 /// Equality of the artifacts is equality of references
 /// or equality of URIs
 /// </summary>
 public bool Equals(Artifact other)
 {
     return(other != null && (ReferenceEquals(this, other) || IsEqual(other)));
 }
Ejemplo n.º 2
0
 private bool IsEqual(Artifact other)
 {
     return(Uri == other.Uri);
 }