Try your search with a different keyword or use * as a wildcard.
using FluentValidation;
using Nop.Plugin.Misc.Omnisend.Models;
using Nop.Services.Localization;
using Nop.Web.Framework.Validators;
namespace Nop.Plugin.Misc.Omnisend.Validators;
///
/// Represents configuration model validator
///
public class ConfigurationModelValidator : BaseNopValidator
{
#region Ctor
public ConfigurationModelValidator(ILocalizationService localizationService)
{
RuleFor(model => model.ApiKey)
.NotEmpty()
.WithMessageAwait(localizationService.GetResourceAsync("Plugins.Misc.Omnisend.Fields.ApiKey.Required"));
}
#endregion
}