private bool CompareForFundamentalChange(SettingsData other) { if (other.SoundDirectory != this.SoundDirectory) { return(true); } if (other.MusicDirectory != this.MusicDirectory) { return(true); } if (other.TcpPort != this.TcpPort) { return(true); } if (other.WebTcpPort != this.WebTcpPort) { return(true); } if (other.UseLegacyNetwork != this.UseLegacyNetwork) { return(true); } if (other.UseWebNetwork != this.UseWebNetwork) { return(true); } if (other.UdpPort != this.UdpPort) { return(true); } if (other.OutputDeviceIndex != this.OutputDeviceIndex) { return(true); } return(false); }
private Settings() { Data = new SettingsData(); InitDefaults(); }