internal void OnWlanReason(WlanNotificationData notifyData, WlanReasonCode reasonCode) { WlanReasonNotification?.Invoke(notifyData, reasonCode); if (queueEvents) { var queuedEvent = new WlanReasonNotificationData { notifyData = notifyData, reasonCode = reasonCode }; EnqueueEvent(queuedEvent); } }
internal void OnWlanReason(WlanNotificationData notifyData, WlanReasonCode reasonCode) { if (WlanReasonNotification != null) { WlanReasonNotification(notifyData, reasonCode); } if (queueEvents) { WlanReasonNotificationData queuedEvent = new WlanReasonNotificationData(); queuedEvent.notifyData = notifyData; queuedEvent.reasonCode = reasonCode; EnqueueEvent(queuedEvent); } }
internal void OnWlanReason(WlanNotificationData notifyData, WlanReasonCode reasonCode) { if (WlanReasonNotification != null) WlanReasonNotification(notifyData, reasonCode); if (queueEvents) { WlanReasonNotificationData queuedEvent = new WlanReasonNotificationData(); queuedEvent.notifyData = notifyData; queuedEvent.reasonCode = reasonCode; EnqueueEvent(queuedEvent); } }