public void ConfigurationXml() { PrefInteger prefInteger = new PrefInteger("integer_pref", 2); PrefDouble prefDouble = new PrefDouble("integer_pref", 4); Pref pref = new Pref("only_pref"); List<Pref> prefList = new List<Pref> {pref, prefInteger, prefDouble}; Configuration c = new Configuration(prefInteger, prefList); SimplTypesScope simplTypesScope = SimplTypesScope.Get("configuration", typeof(Configuration), typeof(PrefInteger), typeof(PrefDouble), typeof(Pref)); TestMethods.TestSimplObject(c, simplTypesScope, Format.Xml); }
public Configuration(Pref p, List<Pref> ps ) { pref = p; prefs = ps; }
public Configuration(Pref p, List <Pref> ps) { pref = p; prefs = ps; }