Example #1
0
 /// <summary>
 /// Raising ActiveSessionsChanged event.
 /// </summary>
 internal static void RaiseActiveSessionsChangedEvent(ActiveSessionsChangedEventArgs eventArgs)
 {
     EventHandler<ActiveSessionsChangedEventArgs> handler = ActiveSessionsChanged;
     if (handler != null)
     {
         handler(null, eventArgs);
     }
 }
        /// <summary>
        /// Raising ActiveSessionsChanged event.
        /// </summary>
        internal static void RaiseActiveSessionsChangedEvent(ActiveSessionsChangedEventArgs eventArgs)
        {
            EventHandler <ActiveSessionsChangedEventArgs> handler = ActiveSessionsChanged;

            if (handler != null)
            {
                handler(null, eventArgs);
            }
        }
Example #3
0
 /// <summary>
 /// Raising ActiveSessionsChanged event.
 /// </summary>
 internal static void RaiseActiveSessionsChangedEvent(ActiveSessionsChangedEventArgs eventArgs)
 {
     ActiveSessionsChanged?.Invoke(null, eventArgs);
 }