Beispiel #1
0
 public override void SetupConfig()
 {
     phrasePath = new Configurable()
     {
         Name         = "dbpath",
         ReadableName = "Path to Database",
         Parent       = this
     };
     Configurables.Add(phrasePath);
 }
Beispiel #2
0
 public override void SetupConfig()
 {
     db_filename = new Configurable()
     {
         Name         = "dbpath",
         ReadableName = "Path to Database",
         Parent       = this
     };
     Configurables.Add(db_filename);
 }
Beispiel #3
0
        public Module_Test()
        {
            ID       = ModuleList.Test;
            UsableBy = APIList.All;

            configTest1 = new Configurable()
            {
                Name   = "dick",
                Parent = this
            };
            Configurables.Add(configTest1);

            if (configTest1.Value == string.Empty)
            {
                configTest1.Value = "notbutt!";
            }
        }