After building in the lib in my windows service, where I feed multiple
apps with notifications, a nice feature would be exposing the count
of queued messages overall connections in class NotificationService.cs
/// <summary>
/// Returns the number of queued messages overall connections
/// </summary>
/// <returns>Number of queued Messages</returns>
public int GetQueuedNotificationCount()
{
int notificationCount = 0;
foreach (NotificationConnection connection in
notificationConnections)
notificationCount += connection.QueuedNotificationsCount;
return notificationCount;
}
Thanks,
Christian
Original issue reported on code.google.com by christia...@netpioneer.de on 27 Feb 2011 at 10:17
Original issue reported on code.google.com by
christia...@netpioneer.de
on 27 Feb 2011 at 10:17