Class NewsletterViewComponent
Inheritance
NewsletterViewComponent
Assembly: Volo.CmsKit.Pro.Common.Web.dll
Syntax
[Widget(StyleFiles = new string[] { "/Pages/Public/Shared/Components/Newsletter/Default.css" }, ScriptTypes = new Type[] { typeof(NewsletterWidgetScriptContributor) }, AutoInitialize = true)]
[ViewComponent(Name = "CmsNewsletter")]
public class NewsletterViewComponent : AbpViewComponent
Constructors
NewsletterViewComponent(INewsletterRecordPublicAppService, IStringLocalizerFactory)
Declaration
public NewsletterViewComponent(INewsletterRecordPublicAppService newsletterRecordPublicAppService, IStringLocalizerFactory stringLocalizerFactory)
Parameters
Properties
NewsletterRecordPublicAppService
Declaration
protected INewsletterRecordPublicAppService NewsletterRecordPublicAppService { get; }
Property Value
StringLocalizerFactory
Declaration
protected IStringLocalizerFactory StringLocalizerFactory { get; }
Property Value
Methods
InvokeAsync(string, string, bool, ILocalizableString)
Declaration
public virtual Task<IViewComponentResult> InvokeAsync(string preference, string source, bool requestAdditionalPreferencesLater, ILocalizableString privacyPolicyConfirmation)
Parameters
Returns
Extension Methods