/// <summary> /// Handles internal events and re-dispatches them to the publicly subscribed delegates. /// </summary> /// <param name="eventType">The <see cref="CanEvent"/>Event type.</param> internal void OnCanMessageReceivedInternal(CanEvent eventType) { CanMessageReceivedEventHandler callbacks = null; lock (_syncLock) { if (!_disposed) { callbacks = _callbacks; } } callbacks?.Invoke(this, new CanMessageReceivedEventArgs(eventType)); }
internal CanMessageReceivedEventArgs(CanEvent msgValue) { }