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(); } } }