Example #1
0
        private void FireConnectionStateChanged(ConnectionState state)
        {
            ConnectionStateChangedHandler handler = ConnectionStateChanged;

            if (handler != null)
            {
                handler(this, state);
            }
        }
 private void fireConnectionStateChanged(ConnectionStateChangedHandler handler, bool connected)
 {
     if (handler != null)
         handler(connected);
 }