Exemplo n.º 1
0
 internal void RaiseEngineExperimentSessionBeginEvent(UXF.Session experimentSession)
 {
     lock (this._eventTable)
     {
         var callback = (System.EventHandler<EngineExperimentEventArgs>)this._eventTable["EngineExperimentSessionBegin"];
         callback?.Invoke(this, new EngineExperimentEventArgs(session: experimentSession));
     }
 }
Exemplo n.º 2
0
        void UseSession(UXF.Session session)
        {
            int i = 0;

            foreach (var trial in session.Trials)
            {
                Assert.AreEqual(trial.result["observation"], ++i);
            }
        }
Exemplo n.º 3
0
 public void ExperimentSessionBegin(UXF.Session experimentSession)
 {
     this.RaiseEngineExperimentSessionBeginEvent(experimentSession);
 }
Exemplo n.º 4
0
 // Session ctor
 public EngineExperimentEventArgs(UXF.Session session = null, UXF.Trial trial = null)
     : base()
 {
     this.Session = session;
     this.Trial = trial;
 }