public Dictionary <string, string> ExportSettings(bool suppressWarnings) { Dictionary <string, string> SettingsDict = new Dictionary <string, string>(); SettingsDict.Add("KeepLeft", KeepLeft.ToString()); SettingsDict.Add("KeepRight", KeepRight.ToString()); SettingsDict.Add("KeepWords", KeepWords.ToString()); return(SettingsDict); }
public override int GetHashCode() { unchecked { var hashCode = Horizontal.GetHashCode(); hashCode = (hashCode * 397) ^ Vertical.GetHashCode(); hashCode = (hashCode * 397) ^ KeepHorizontal.GetHashCode(); hashCode = (hashCode * 397) ^ KeepVertical.GetHashCode(); hashCode = (hashCode * 397) ^ KeepLeft.GetHashCode(); return(hashCode); } }