private void ExecuteWithAddressService(Action action) { WcfServiceHost.InvokeService <IAddressService> ( service => { this.AddressService = service; action.Invoke(); } ); }
private void ExecuteWithCustomerService(Action action) { WcfServiceHost.InvokeService <ICustomerService> ( service => { this.CustomerService = service; action.Invoke(); } ); }
public void ServiceThrowsApplicationException() { WcfServiceHost.InvokeService <ITestService>(ServiceThrowsApplicationExceptionCommand); }
public void ServiceThrowsBusinessException() { WcfServiceHost.InvokeService <ITestService>(ServiceThrowsBusinessExceptionCommand); }
public void ServiceReturnsWarning() { WcfServiceHost.InvokeService <ITestService>(ServiceReturnsWarningCommand); }