示例#1
0
 public static ServiceProxies.ControllerFarmService.ControllerFarmServiceClient GetControllerFarm(string url)
 {
     Log.Debug("Getting controller with URL = " + url);
     var service = new ServiceProxies.ControllerFarmService.ControllerFarmServiceClient();
     service.Endpoint.Address = new EndpointAddress(url);
     return service;
 }
示例#2
0
        GetControllerFarm(string url)
        {
            Log.Debug("Getting controller with URL = " + url);
            var service = new ServiceProxies.ControllerFarmService.ControllerFarmServiceClient();

            service.Endpoint.Address = new EndpointAddress(url);
            return(service);
        }