Exemplo 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));
 }
Exemplo 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"));
 }