Beispiel #1
0
        internal void OnWlanReason(WlanNotificationData notifyData, WlanReasonCode reasonCode)
        {
            WlanReasonNotification?.Invoke(notifyData, reasonCode);

            if (queueEvents)
            {
                var queuedEvent = new WlanReasonNotificationData
                {
                    notifyData = notifyData,
                    reasonCode = reasonCode
                };
                EnqueueEvent(queuedEvent);
            }
        }
Beispiel #2
0
        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);
            }
        }
Beispiel #3
0
		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);
			}
		}