public ExperimentSettings(ExperimentSettings other) { Enabled = other.Enabled; SoundOnDiscovery = other.SoundOnDiscovery; AnimationOnDiscovery = other.AnimationOnDiscovery; StopWarpOnDiscovery = other.StopWarpOnDiscovery; Filter = other.Filter; IsDefault = other.IsDefault; }
public ExperimentSettings this[string expid] { get { if (settings.ContainsKey(expid)) { return(settings[expid]); } settings[expid] = new ExperimentSettings(); return(settings[expid]); } private set { settings.Add(expid.ToLower(), value); } }