CmisSync.Notifications.NotificationUtils.NotifyAsync C# (CSharp) Method

NotifyAsync() public static method

Creates a Notification by Notificatoin Daemon
public static NotifyAsync ( string title, string content = null, string iconPath = null ) : void
title string /// Notification title. ///
content string /// Notification message/content. ///
iconPath string /// Icon path. ///
return void
        public static void NotifyAsync(string title, string content = null, string iconPath = null) {
            if (content == null) {
                content = string.Empty;
            }

            lock (notificationLock) {
                notification.Summary = title;
                notification.Body = content;
                notification.IconName = string.IsNullOrEmpty(iconPath) ? IconName : iconPath;
                notification.Show();
            }
        }
    }
NotificationUtils