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 }
internal ControlBuilder(IScienceExperiment <T, TPublish> experiment) { this.experiment = experiment; steps = experiment.Steps; }