コード例 #1
0
        internal WuEndpoint(
            WuRemoteServiceFactory serviceFactory,
            Binding binding,
            EndpointAddress address)
        {
            Log.Debug($"Creating instance of {nameof(WuEndpoint)} for {nameof(EndpointAddress)} {address?.Uri}");

            _serviceFactory = serviceFactory ?? throw new ArgumentNullException(nameof(serviceFactory));
            _binding        = binding ?? throw new ArgumentNullException(nameof(binding));
            _address        = address ?? throw new ArgumentNullException(nameof(address));

            IsDisposed = false;
        }
コード例 #2
0
 public WuEndpointFactory(WuRemoteServiceFactory wuRemoteServiceFactory = null)
 {
     _wuRemoteServiceFactory = wuRemoteServiceFactory ?? new WuRemoteServiceFactory();
 }
コード例 #3
0
 public WuEndpointFactory()
 {
     _wuRemoteServiceFactory = new WuRemoteServiceFactory();
 }