示例#1
0
        protected virtual void OnCommunicationStateChanged(CommunicationStateChangedEventArgs args)
        {
            var handler = this.CommunicationStateChanged;

            if (handler != null)
            {
                handler(this, args);
            }
        }
 // taking care of the busy (loading) indicator
 protected void WhenCommunicationStateChanges(Object sender, CommunicationStateChangedEventArgs args)
 {
     this.CommunicationStateModel = args.CommunicationStateModel;
 }