Esempio n. 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ (SelectedSource != null ? SelectedSource.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (FromPath != null ? FromPath.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ToPath != null ? ToPath.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ OverWriteMode.GetHashCode();
         hashCode = (hashCode * 397) ^ AddMode.GetHashCode();
         return(hashCode);
     }
 }
Esempio n. 2
0
 /* Set overwrite mode. */
 internal string SetOverWrite(OverWriteMode mode)
 {
     return "SetOverWrite " + mode.ToString().ToLower();
 }