/// <summary> /// Gets a collection of <see cref="INotificationMessage"/>s by a Monitor Key (GUID) /// </summary> /// <param name="monitorKey">The GUID identifier of the the <see cref="IMonitor"/></param> /// <returns>A collection of NotificationMessage</returns> public IEnumerable <INotificationMessage> GetNotificationMessagesByMonitorKey(Guid monitorKey) { return(GatewayProviderService.GetNotificationMessagesByMonitorKey(monitorKey).Select(x => x.ShallowCopy())); }
/// <summary> /// Gets a collection of <see cref="INotificationMessage"/>s by a Monitor Key (Guid) /// </summary> /// <param name="monitorKey">The Guid identifier of the the <see cref="IMonitor"/></param> /// <returns>A collection of NotificationMessage</returns> public IEnumerable <INotificationMessage> GetNotificationMessagesByMonitorKey(Guid monitorKey) { return(GatewayProviderService.GetNotificationMessagesByMonitorKey(monitorKey)); }