Exemplo n.º 1
0
 public void Subscribe()
 {
     _callback         = OperationContext.Current.GetCallbackChannel <IWeatherServiceCallback>();
     WeatherReporting += new EventHandler <WeatherEventArgs>(WeatherService_WeatherReporting);
 }
Exemplo n.º 2
0
 public void Subscribe()
 {
     _callback = OperationContext.Current.GetCallbackChannel<IWeatherServiceCallback>();
     WeatherReporting += new EventHandler<WeatherEventArgs>(WeatherService_WeatherReporting);
 }