Ejemplo n.º 1
0
 public Experiment(string name, ISciencePublisher publisher, IExperimentState state,
                   IExperimentSteps <T, TPublish> steps, bool throwOnInternalExceptions)
 {
     _name      = name;
     _publisher = publisher; //if this is null, nothing gets published! should we throw?
     _throwOnInternalExceptions = throwOnInternalExceptions;
     _currentState = state;
     _steps        = steps; //should be overwriten by public Set
 }
Ejemplo n.º 2
0
 internal ControlBuilder(IScienceExperiment <T, TPublish> experiment)
 {
     this.experiment = experiment;
     steps           = experiment.Steps;
 }