Skip to content

Commit dce9d69

Browse files
RomanovMskoshelev
authored andcommitted
#7373 Comment edited
1 parent da4532a commit dce9d69

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/Libraries/Nop.Services/Messages/NotificationService.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public NotificationService(IHttpContextAccessor httpContextAccessor,
4343
/// <param name="type">Notification type</param>
4444
/// <param name="message">Message</param>
4545
/// <param name="encode">A value indicating whether the message should not be encoded</param>
46-
/// <param name="timeout">The time, in milliseconds, on which notification will close automatically; leave 0 if notification shouldn't close automatically</param>
46+
/// <param name="timeout">The time (in milliseconds), on which notification will close automatically; leave 0 if notification shouldn't close automatically</param>
4747
protected virtual void PrepareTempData(NotifyType type, string message, bool encode = true, int timeout = 0)
4848
{
4949
var context = _httpContextAccessor.HttpContext;
@@ -88,7 +88,7 @@ protected virtual async Task LogExceptionAsync(Exception exception)
8888
/// <param name="type">Notification type</param>
8989
/// <param name="message">Message</param>
9090
/// <param name="encode">A value indicating whether the message should not be encoded</param>
91-
/// <param name="timeout">The time on which notification will close automatically; leave 0 if notification shouldn't close automatically</param>
91+
/// <param name="timeout">The time (in milliseconds) on which notification will close automatically; leave 0 if notification shouldn't close automatically</param>
9292
public virtual void Notification(NotifyType type, string message, bool encode = true, int timeout = 0)
9393
{
9494
PrepareTempData(type, message, encode, timeout);
@@ -99,7 +99,7 @@ public virtual void Notification(NotifyType type, string message, bool encode =
9999
/// </summary>
100100
/// <param name="message">Message</param>
101101
/// <param name="encode">A value indicating whether the message should not be encoded</param>
102-
/// <param name="timeout">The time on which notification will close automatically; leave 0 if notification shouldn't close automatically</param>
102+
/// <param name="timeout">The time (in milliseconds) on which notification will close automatically; leave 0 if notification shouldn't close automatically</param>
103103
public virtual void SuccessNotification(string message, bool encode = true, int timeout = 0)
104104
{
105105
PrepareTempData(NotifyType.Success, message, encode, timeout);
@@ -110,18 +110,18 @@ public virtual void SuccessNotification(string message, bool encode = true, int
110110
/// </summary>
111111
/// <param name="message">Message</param>
112112
/// <param name="encode">A value indicating whether the message should not be encoded</param>
113-
/// <param name="timeout">The time on which notification will close automatically; leave 0 if notification shouldn't close automatically</param>
113+
/// <param name="timeout">The time (in milliseconds) on which notification will close automatically; leave 0 if notification shouldn't close automatically</param>
114114
public virtual void WarningNotification(string message, bool encode = true, int timeout = 0)
115115
{
116116
PrepareTempData(NotifyType.Warning, message, encode, timeout);
117117
}
118-
118+
119119
/// <summary>
120120
/// Display error notification
121121
/// </summary>
122122
/// <param name="message">Message</param>
123123
/// <param name="encode">A value indicating whether the message should not be encoded</param>
124-
/// <param name="timeout">The time on which notification will close automatically; leave 0 if notification shouldn't close automatically</param>
124+
/// <param name="timeout">The time (in milliseconds) on which notification will close automatically; leave 0 if notification shouldn't close automatically</param>
125125
public virtual void ErrorNotification(string message, bool encode = true, int timeout = 0)
126126
{
127127
PrepareTempData(NotifyType.Error, message, encode, timeout);
@@ -132,7 +132,7 @@ public virtual void ErrorNotification(string message, bool encode = true, int ti
132132
/// </summary>
133133
/// <param name="exception">Exception</param>
134134
/// <param name="logException">A value indicating whether exception should be logged</param>
135-
/// <param name="timeout">The time on which notification will close automatically; leave 0 if notification shouldn't close automatically</param>
135+
/// <param name="timeout">The time (in milliseconds) on which notification will close automatically; leave 0 if notification shouldn't close automatically</param>
136136
/// <returns>A task that represents the asynchronous operation</returns>
137137
public virtual async Task ErrorNotificationAsync(Exception exception, bool logException = true, int timeout = 0)
138138
{

0 commit comments

Comments
 (0)