public bool IsDuplicate(MediaEntry other) { if (other != null && other.Md5 == this.Md5) return true; return false; }
public bool PossibleMovedEntry(MediaEntry obj) { var me = obj as MediaEntry; return this.Filename.Equals(me.Filename) && this.Extension.Equals(me.Extension) && this.RelativePath.Equals(me.RelativePath) && !this.Root.Equals(me.Root); }
public bool Equals(MediaEntry other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return string.Equals(Extension, other.Extension) && string.Equals(Filename, other.Filename) && string.Equals(RelativePath, other.RelativePath) && Equals(Root, other.Root); }