protected virtual void OnAvailabilityChanged(AvailabilityEventArgs e) { EventHandler <AvailabilityEventArgs> handler = AvailabilityChanged; if (handler != null) { handler(this, e); } }
private void _lyncManager_AvailabilityChanged(object sender, AvailabilityEventArgs e) { AddStatusToQueue(e.Availability.AvailabilityName); }