/// <summary>Raises the on system deleted notification event.</summary> /// <param name="args">The arguments.</param> public void RaiseOnSystemDeletedNotificationEvent(SystemDeletedNotificationArgs args) { if (_t2gManager != null) { _t2gManager.RaiseOnSystemDeletedNotificationEvent(args); } }
/// <summary>Raises the on system deleted notification event.</summary> /// <param name="pEvent">The notification event.</param> /// <returns>true if it succeeds, false if it fails.</returns> public void RaiseOnSystemDeletedNotificationEvent(SystemDeletedNotificationArgs eventArgs) { lock (_subscriberLock) { NotifyEventHandlersAsync(eventArgs, _systemDeletedEventHandlers); } }
/// <summary>Process System Deleted Notification.</summary> /// <param name="systemId">The onboard system identifier.</param> public void OnSystemDeletedNotification(string systemId) { lock (_lock) { _localDataStorage.OnSystemDeleted(systemId); var lEvent = new SystemDeletedNotificationArgs(); lEvent.SystemId = systemId; _notifierTarget.RaiseOnSystemDeletedNotificationEvent(lEvent); } }