private static TinyIoCContainer BootStrapStatLight(SilverlightTask silverlightTask, MethodTask[] testMethods)
        {
            var inputOptions = CreateStatLightInputOptions(silverlightTask, testMethods);
            var logger = CreateStatLightLogger();

            return BootStrapper.Initialize(inputOptions, logger);
        }
 private static InputOptions CreateStatLightInputOptions(SilverlightTask silverlightTask, MethodTask[] testMethods)
 {
     return new InputOptions()
         .SetXapPaths(silverlightTask.GetXapPaths())
         .SetDllPaths(silverlightTask.GetDllPaths())
         .SetMethodsToTest(testMethods.Select(m => m.GetFullMethodName()).ToList());
 }
        private static InputOptions CreateStatLightInputOptions(SilverlightTask silverlightTask, MethodTask[] testMethods)
        {
            var windowGeometry = new WindowGeometry();
            windowGeometry.State = BrowserWindowState.Normal;

            return new InputOptions()
                .SetWindowGeometry(windowGeometry)
                .SetXapPaths(silverlightTask.GetXapPaths())
                .SetDllPaths(silverlightTask.GetDllPaths())
                .SetMethodsToTest(testMethods.Select(m => m.GetFullMethodName()).ToList());
        }
        private void Execute(SilverlightTask silverlightTask)
        {
            var testMethods = silverlightTask.Node.GetMethodTasks().ToArray();
            var testClasses = silverlightTask.Node.GetClassTasks().ToArray();

            var ioc = BootStrapStatLight(silverlightTask, testMethods);
            SetUpSilverlightResultsHandler(ioc, testClasses, testMethods);

            var testReports = ExecuteStatLightRun(ioc);
        }