Ejemplo n.º 1
0
        private void createProxy()
        {
            Debug.WriteLine("Create Proxy");

            this.callback                  = new SimulationInformationServiceCallback(data);
            callback.LocationChanged      += this.changeLocation;
            callback.NotificationReceived += this.displayNotification;

            InstanceContext instanceContext = new InstanceContext(callback);

            this.proxy = new SimulationInformationServiceClient(instanceContext);

            this.proxy.Open();

            Debug.WriteLine("done");
        }
        private void createProxy()
        {
            Debug.WriteLine("Create Proxy");

            this.callback = new SimulationInformationServiceCallback(data);
            callback.LocationChanged += this.changeLocation;
            callback.NotificationReceived += this.displayNotification;

            InstanceContext instanceContext = new InstanceContext(callback);
            this.proxy = new SimulationInformationServiceClient(instanceContext);

            this.proxy.Open();

            Debug.WriteLine("done");
        }