public RemoteUnitTestingApplicationService()
        {
            _silverlightUnitTestAbstractionsFactory =
                SimpleServiceLocator.Instance.Get<ISilverlightUnitTestAbstractionsFactory>();

            _serializationService = SimpleServiceLocator.Instance.Get<ISerializationService>();
        }
 public RemoteUnitTestingApplicationService(ISerializationService serializationService, ISilverlightUnitTestAbstractionsFactory silverlightUnitTestAbstractionsFactory)
 {
     _serializationService = serializationService;
     _silverlightUnitTestAbstractionsFactory = silverlightUnitTestAbstractionsFactory;
 }
        public void StartService(ApplicationServiceContext context)
        {
            _serializationService = new SerializationService();
            _silverlightUnitTestAbstractionsFactory = new SilverlightUnitTestAbstractionsFactory();

            _current = this;

            if (IsEnabled)
            {
                HtmlPage.RegisterScriptableObject("TestFrontend", this);

                var waitingPage = new WaitingPage();
                waitingPage.Loaded += (s, e) => InvokeExternalMethod("ReadyToStart");

                Application.Current.RootVisual = waitingPage;
            }
        }