コード例 #1
0
 public bool Equals(HBaseBackupStep obj)
 {
     if (object.ReferenceEquals(obj, null))
     {
         return(false);
     }
     return(HBaseBackupStep.Equals(this, obj));
 }
コード例 #2
0
        public static bool Equals(HBaseBackupStep obj1, HBaseBackupStep obj2)
        {
            if (object.ReferenceEquals(obj1, null) && object.ReferenceEquals(obj2, null))
            {
                return(true);
            }

            if (object.ReferenceEquals(obj1, null) || object.ReferenceEquals(obj2, null))
            {
                return(false);
            }

            return(obj1.HBaseJarPath == obj2.HBaseJarPath &&
                   obj1.BackupPath == obj2.BackupPath);
        }
コード例 #3
0
 public static bool operator !=(HBaseBackupStep obj1, HBaseBackupStep obj2)
 {
     return(!HBaseBackupStep.Equals(obj1, obj2));
 }