public static void Add([CanBeNull] NotificationCollection notifications, [NotNull] string format, params object[] args) { notifications?.Add(format, args); }
public static void Add([CanBeNull] NotificationCollection notifications, [NotNull] string message) { notifications?.Add(message); }