Пример #1
0
        public void StartService()
        {
            var startInfo = ServiceRunner.StartService <ITestService>("TestService", new TestService());

            _service = startInfo.Item1;
            _client  = startInfo.Item2;
        }
Пример #2
0
 public void TestMethodWithOverridingByParams()
 {
     Assert.Throws <JRpcException>(
         () => ServiceRunner.StartService <ITestServiceImplWithOverridingByParams>("TestServiceImplWithOverridingByParams", new TestServiceImplWithOverridingByParams()));
 }