/// <summary> /// Fac /// </summary> /// <returns></returns> public static ChannelFactory <ISvcUpdate> Fac <ISvcUpdate>() { ChannelFactory <ISvcUpdate> fac = new ChannelFactory <ISvcUpdate>(WCFEndpoint.Binding); WCFEndpoint.SetClientBehavior(fac); return(fac); }
public ProxyUpdate() { Service = WCFEndpoint.Fac <ItfUpdate>().CreateChannel(WCFEndpoint.CommEndpointAddress(this.GetType().Name)); }