public Task Start() { return(Task.Factory.StartNew(() => { _runner = _source(); _runner.WaitForMessage <LoaderStarted>(); })); }
public void start_with_a_parallel_folder() { using (var runner = new RemoteServiceRunner(x => { x.UseParallelServiceDirectory("ApplicationLoaderService"); })) { runner.WaitForMessage <LoaderStarted>().LoaderTypeName.ShouldContain("MyApplicationLoader"); } }
public void start_with_only_the_folder_name_with_an_IApplicationLoader() { var servicePath = ".".ToFullPath().ParentDirectory().ParentDirectory().ParentDirectory().AppendPath("ApplicationLoaderService"); using (var runner = new RemoteServiceRunner(servicePath)) { runner.WaitForMessage <LoaderStarted>().LoaderTypeName.ShouldContain("MyApplicationLoader"); } }
public void start_with_only_the_folder_name_with_an_IApplicationLoader() { var servicePath = ".".ToFullPath().ParentDirectory().ParentDirectory().ParentDirectory().AppendPath("ApplicationLoaderService"); using (var runner = new RemoteServiceRunner(servicePath)) { runner.WaitForMessage<LoaderStarted>().LoaderTypeName.ShouldContain("MyApplicationLoader"); } }
public void start_with_a_parallel_folder() { using (var runner = new RemoteServiceRunner(x => { x.UseParallelServiceDirectory("ApplicationLoaderService"); })) { runner.WaitForMessage<LoaderStarted>().LoaderTypeName.ShouldContain("MyApplicationLoader"); } }