PeerCastStation.UI.HTTP.APIHost.GetNotificationMessages C# (CSharp) Method

GetNotificationMessages() public method

public GetNotificationMessages ( ) : IEnumerable
return IEnumerable
    public IEnumerable<NotificationMessage> GetNotificationMessages()
    {
      lock (notificationMessages) {
        var result = notificationMessages.ToArray();
        notificationMessages.Clear();
        return result;
      }
    }