示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="proxy"></param>
 /// <param name="retry_after_exception"></param>
 /// <param name="recreate_on_fault"></param>
 public WcfClient(WcfProxy proxy, bool retry_after_exception = true, bool recreate_on_fault = true)
     : this
     (
         proxy.BindingName, proxy.product_name, proxy.IpAddress, proxy.ServicePort,
         retry_after_exception, recreate_on_fault, proxy.IsPortSharing, proxy.SharingPort
     )
 {
 }
示例#2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="service_type">wcf service를 제공 할 host service의 class type</param>
 /// <param name="interface_type">지정된 계약이 구현되어 있는 interface type</param>
 /// <param name="proxy"></param>
 public WcfServer(System.Type service_type, System.Type interface_type, WcfProxy proxy)
     : this
     (
         service_type, interface_type, proxy.BindingNames, proxy.product_name,
         proxy.IpAddresses, proxy.ServicePorts, proxy.BehaviorPort,
         proxy.IsPortSharing, proxy.SharingPort
     )
 {
 }