示例#1
0
 public MethodReturnsSetup(IWcfProxy wcfProxy, ServiceStub service, IInvocationMatcher invocationMatcher, MethodInfo serviceMethod)
 {
     _wcfProxy          = wcfProxy;
     _service           = service;
     _invocationMatcher = invocationMatcher;
     _serviceMethod     = serviceMethod;
 }
示例#2
0
 public CountryServiceWrapper(IWcfProxy <ICountryServiceChannel> proxy)
 {
     clientProxy = proxy;
 }
示例#3
0
 public PersonServiceWrapper(string endpointUrl)
 {
     clientProxy = new WcfProxy <IPersonServiceChannel>(endpointUrl);
 }
示例#4
0
 public CountryServiceWrapper(string endpointUrl)
 {
     clientProxy = new WcfProxy <ICountryServiceChannel>(endpointUrl);
 }
示例#5
0
 public UserServiceWcfProxy(IWcfProxy <IUserService> wcfProxy)
 {
     WcfProxy = wcfProxy ?? throw new ArgumentNullException(nameof(wcfProxy));
 }