public Alert(string text, AlertType type, AlertBehaviour behaviour, Link?link = null) { Text = string.IsNullOrWhiteSpace(text) ? throw new StringArgumentNullOrWhiteSpaceException(nameof(text)) : text; _type = type; Behaviour = behaviour; _link = link; }
public Alert(string text, AlertType type, AlertBehaviour behaviour, Link link = null) { Text = text; _type = type; Behaviour = behaviour; _link = link; }