Exemple #1
0
        protected virtual void OnAvailabilityChanged(AvailabilityEventArgs e)
        {
            EventHandler <AvailabilityEventArgs> handler = AvailabilityChanged;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemple #2
0
 void sendAvailability(object sender, AvailabilityEventArgs e)
 {
     try
     {
         protocol.Send(e.Availability.AvailabilityName);
     }
     catch (Exception ex)
     {
         OnLog(new MessageEventArgs("Exception while trying to send command. " + ex.ToString()));
     }
 }
Exemple #3
0
 void lyncx_AvailabilityChanged(object sender, AvailabilityEventArgs e)
 {
     sendAvailability(sender, e);
 }
Exemple #4
0
 protected virtual void OnAvailabilityChanged(AvailabilityEventArgs e)
 {
     EventHandler<AvailabilityEventArgs> handler = AvailabilityChanged;
     if (handler != null)
     {
         handler(this, e);
     }
 }