Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

AdditionalTokensAddedEvent.cs

namespace Nop.Core.Domain.Messages;

/// 
/// Event for "Additional tokens added"
/// 
public partial class AdditionalTokensAddedEvent
{
    public AdditionalTokensAddedEvent()
    {
        AdditionalTokens = new List();
    }

    /// 
    /// Add tokens
    /// 
    /// Additional tokens
    public void AddTokens(params string[] additionalTokens)
    {
        foreach (var additionalToken in additionalTokens)
        {
            AdditionalTokens.Add(additionalToken);
        }
    }

    /// 
    /// Additional tokens
    /// 
    public IList AdditionalTokens { get; }


    /// 
    /// Token groups which can be used to filter the AdditionalTokens
    /// 
    public IEnumerable TokenGroups { get; set; }
}