/// <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); }
/// <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); }