public Connector(string key) { Group = new GroupSettingSupport(typeof(Connector), key); Enabled = Group.scope(setting("enabled", BOOLEAN, "false")); Type = Group.scope(setting("type", optionsObeyCase(typeof(ConnectorType)), NO_DEFAULT)); }
internal ConnectorExample(string key) { Group = new GroupSettingSupport(typeof(ConnectorExample), key); this.Enabled = Group.scope(setting("enabled", BOOLEAN, FALSE)); this.Name = Group.scope(setting("name", STRING, "Bob Dylan")); }