Esempio n. 1
0
 public void AddScript(
     Type typeImplIScript, string id, EInitModels initModel,
     List <string> nextScripts, List <List <string> > scriptsToFinishPrior,
     double timerMin, double timerMax)
 {
     AddScript(typeImplIScript, null, id, initModel, nextScripts, scriptsToFinishPrior, timerMin, timerMax);
 }
Esempio n. 2
0
 public void AddScript(
     Type typeBaseScript, string id,
     EInitModels initModel)
 {
     AddScript(
         typeBaseScript, id, initModel,
         new List <string>(), new List <List <string> >(),
         DefaultTimerIntervalMin, DefaultTimerIntervalMin);
 }
Esempio n. 3
0
 public void AddScript(
     Type typeImplIScript, string id,
     EInitModels initModel,
     List <string> nextScriptsToRun, List <List <string> > scriptsToFinishPrior)
 {
     AddScript(typeImplIScript, id, initModel,
               nextScriptsToRun, scriptsToFinishPrior,
               DefaultTimerIntervalMin, DefaultTimerIntervalMax);
 }
Esempio n. 4
0
        //FULL CTOR
        public void AddScript(
            Type typeImplIScript, object[] ctorParams, string id, EInitModels initModel,
            List <string> nextScripts, List <List <string> > scriptsToFinishPrior,
            double timerMin, double timerMax)
        {
            IScriptAttributes s = new ScriptAttributes(id);

            s.InitModel                = initModel;
            s.TimerIntervalMin         = timerMin;
            s.TimerIntervalMax         = timerMax;
            s.NextScripts              = nextScripts;
            s.ScriptsToFinishPriorThis = scriptsToFinishPrior;
            s.CtorParams               = ctorParams;

            AddScript(typeImplIScript, s);
        }