public NotificationBaloonRender(NotificationBaloonMessage notification) { if (notification == null) throw new ArgumentNullException("notification", @"Argument value for parameter ""notification"" cannot be null."); this.notification = notification; }
public static void Create(TempDataDictionary contextTempData, NotificationBaloonType notificationType, string message, string title = "") { contextTempData[NotificationCookieName] = new NotificationBaloonMessage(notificationType, message, title); }