Esempio n. 1
0
 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));
 }
Esempio n. 2
0
 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"));
 }