Пример #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)));
 }
Пример #2
0
 private bool IsEqual(Artifact other)
 {
     return(Uri == other.Uri);
 }