public HostedScriptExecutor(ITrainingSession session)
        {
            _script = new ScriptCsHost();

            _script.Root.Executor.Initialize(new List<string>(), new List<IScriptPack>() {new PersonalTrainerScriptPack(session)});
            _script.Root.Executor.AddReferenceAndImportNamespaces(new[]
            {
                typeof (TrainingSession),
                typeof (Metronome),
                typeof (Sequencer),
                typeof (Voice.Trainer),
                typeof (Timer.SessionTimer),
                typeof (Picture),
                typeof (IContentViewer),
                typeof (IContentCollection),
                typeof (PictureInfo),
                typeof (ExtensionMethods)
            });
        }
        public HostedScriptExecutor(ITrainingSession session)
        {
            _script = new ScriptCsHost();

            _script.Root.Executor.Initialize(new List <string>(), new List <IScriptPack> {
                new PersonalTrainerScriptPack(session)
            });
            _script.Root.Executor.AddReferenceAndImportNamespaces(new[]
            {
                typeof(TrainingSession),
                typeof(Metronome),
                typeof(Sequencer),
                typeof(Trainer),
                typeof(SessionTimer),
                typeof(Picture),
                typeof(IContentViewer),
                typeof(IContentCollection),
                typeof(PictureInfo),
                typeof(ExtensionMethods)
            });
        }