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); } }
/* Set overwrite mode. */ internal string SetOverWrite(OverWriteMode mode) { return "SetOverWrite " + mode.ToString().ToLower(); }