public OverridableOptionsTests() { _theme = new OverridableOption<byte, string>(0, "default", v => v[v.Keys.Max()]); var t = new OverridableOption<Sources,string>(Sources.Default, "default", v => v[v.Keys.Max()]); t.FromSource(Sources.Request, "fr"); t.FromSource(Sources.UserPrefs, "de"); var b = t.Value; }
public OverridableOptionsTests() { _theme = new OverridableOption <byte, string>(0, "default", v => v[v.Keys.Max()]); var t = new OverridableOption <Sources, string>(Sources.Default, "default", v => v[v.Keys.Max()]); t.FromSource(Sources.Request, "fr"); t.FromSource(Sources.UserPrefs, "de"); var b = t.Value; }