using Nop.Services.Plugins; namespace Nop.Services.Cms; /// /// Provides an interface for creating widgets /// public partial interface IWidgetPlugin : IPlugin { /// /// Gets a value indicating whether to hide this plugin on the widget list page in the admin area /// bool HideInWidgetList { get; } /// /// Gets widget zones where this widget should be rendered /// /// /// A task that represents the asynchronous operation /// The task result contains the widget zones /// Task> GetWidgetZonesAsync(); /// /// Gets a type of a view component for displaying widget /// /// Name of the widget zone /// View component type Type GetWidgetViewComponent(string widgetZone); }