/// <summary> /// Registers the specified attribute. /// </summary> /// <param name="attribute">The attribute.</param> public static void Register(AlertAttrib attribute) { Alert alert = new Alert(attribute); alert.Register(); }
/// <summary> /// Initializes a new instance of the <see cref="Alert"/> class. /// </summary> /// <param name="attribute">The alert attribute.</param> public Alert(AlertAttrib attribute) { this.alertAttrib = attribute; }