public static PerformanceHint Create(string database, string title, string msg, PerformanceHintType type, NotificationSeverity notificationSeverity, string source, INotificationDetails details = null) { return new PerformanceHint(database) { IsPersistent = true, Title = title, Message = msg, HintType = type, Severity = notificationSeverity, Source = source, Details = details }; }
public static AlertRaised Create(string database, string title, string msg, AlertType type, NotificationSeverity severity, string key = null, INotificationDetails details = null) { return(new AlertRaised(database) { IsPersistent = true, Title = title, Message = msg, AlertType = type, Severity = severity, Key = key, Details = details }); }