[PR #1936] [MERGED] NotificationService: Add Notify overload that accepts a Timespan #2978

Open
opened 2026-01-29 18:21:22 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/1936
Author: @pianomanjh
Created: 2/1/2025
Status: Merged
Merged: 2/3/2025
Merged by: @enchev

Base: masterHead: task/notify-support-timespan


📝 Commits (1)

  • 8d3d303 Add Notify overload that accepts a Timespan for duration, for improved clarity

📊 Changes

1 file changed (+20 additions, -6 deletions)

View changed files

📝 Radzen.Blazor/NotificationService.cs (+20 -6)

📄 Description

Simple add to support Timespan as the duration parameter of Notify, for improved clarity for caller.

Ex: NotificationService.Notify(NotificationSeverity.Info, "Test", "Message", 10.Seconds());


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/1936 **Author:** [@pianomanjh](https://github.com/pianomanjh) **Created:** 2/1/2025 **Status:** ✅ Merged **Merged:** 2/3/2025 **Merged by:** [@enchev](https://github.com/enchev) **Base:** `master` ← **Head:** `task/notify-support-timespan` --- ### 📝 Commits (1) - [`8d3d303`](https://github.com/radzenhq/radzen-blazor/commit/8d3d30361e205bf4637d687c93812d820729d7b7) Add Notify overload that accepts a Timespan for duration, for improved clarity ### 📊 Changes **1 file changed** (+20 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/NotificationService.cs` (+20 -6) </details> ### 📄 Description Simple add to support Timespan as the duration parameter of `Notify`, for improved clarity for caller. Ex: `NotificationService.Notify(NotificationSeverity.Info, "Test", "Message", 10.Seconds());` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:21:22 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2978