/// <summary>
        /// Raises the state changed event handler.
        /// </summary>
        /// <param name="args">The <see cref="AssociationStateChangedEventArgs"/> instance containing the event data.</param>
        protected void RaiseStateChangedEventHandler(AssociationStateChangedEventArgs args)
        {
            EventHandler <AssociationStateChangedEventArgs> _locEven = StateChangedEventHandler;

            if (_locEven == null)
            {
                return;
            }
            _locEven(this, args);
        }
Example #2
0
 /// <summary>
 /// Raises the state changed event handler.
 /// </summary>
 /// <param name="args">The <see cref="AssociationStateChangedEventArgs"/> instance containing the event data.</param>
 protected void RaiseStateChangedEventHandler(AssociationStateChangedEventArgs args)
 {
     EventHandler<AssociationStateChangedEventArgs> _locEven = StateChangedEventHandler;
       if (_locEven == null)
     return;
       _locEven(this, args);
 }