/// <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)));
 }
 private bool IsEqual(Artifact other)
 {
     return(Uri == other.Uri);
 }