using Nop.Web.Framework.Models.Cms; namespace Nop.Web.Framework.Factories; /// /// Represents the interface of the widget model factory /// public partial interface IWidgetModelFactory { /// /// Get render the widget models /// /// Name of widget zone /// Additional data object /// Value indicating whether to get widget models from cache /// /// A task that represents the asynchronous operation /// The task result contains the list of the render widget models /// Task> PrepareRenderWidgetModelAsync(string widgetZone, object additionalData = null, bool useCache = true); }