private void BuildSweetAlert(string title, string message, Constants.AlertStatus status) { var alert = new SweetAlertBuilder { HexaBackgroundColor = "#fff", Title = title, Message = message, AlertIcons = status }; alert.BuildSweetAlert(this); }
private void BuildSweetAlert(string title, string message, Constants.AlertStatus alertStatus) { var sweetAlert = new SweetAlertBuilder { HexaBackgroundColor = "#fff", Title = title, Message = message, AlertIcons = alertStatus, AlertPositions = Constants.AlertPositions.CENTER }; sweetAlert.BuildSweetAlert(this); }
private void BuildSweetAlert(string hexaColor, string title, string message, Constants.AlertStatus alertStatus) { SweetAlertBuilder sweetAlert = new SweetAlertBuilder { HexaBackgroundColor = hexaColor, Title = title, Message = message, AlertIcons = alertStatus, AlertPositions = Constants.AlertPositions.TOP_END, ShowCloseButton = true }; sweetAlert.BuildSweetAlert(this); }
private void BuildSweetAlert(string hexbgColor, string title, string message, Constants.AlertStatus alertStatus) { var sweetAlert = new SweetAlertBuilder { HexaBackgroundColor = hexbgColor, Title = title, Message = message, AlertIcons = alertStatus, ShowConfirmationDialog = true, }; sweetAlert.BuildSweetAlert(this); }