22 lines
498 B
C#
22 lines
498 B
C#
namespace Nop.Services.Messages;
|
|
|
|
/// <summary>
|
|
/// Message structure
|
|
/// </summary>
|
|
public struct NotifyData
|
|
{
|
|
/// <summary>
|
|
/// Message type (success/warning/error)
|
|
/// </summary>
|
|
public NotifyType Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// Message text
|
|
/// </summary>
|
|
public string Message { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get a sets a value indicating whether the message should not be HTML encoded
|
|
/// </summary>
|
|
public bool Encode { get; set; }
|
|
} |