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