Example #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            ShardWriteOperation objAsPart = obj as ShardWriteOperation;

            if (objAsPart == null)
            {
                return(false);
            }
            else
            {
                return(Equals(objAsPart));
            }
        }
Example #2
0
 public bool Equals(ShardWriteOperation operation)
 {
     return(operation.Id == Id);
 }