using Microsoft.AspNetCore.Mvc.ModelBinding; namespace Nop.Web.Framework.Events; /// /// Represents an event that occurs after the model is received from the view /// /// Type of the model public partial class ModelReceivedEvent { #region Ctor /// /// Ctor /// /// Model /// Model state public ModelReceivedEvent(T model, ModelStateDictionary modelState) { Model = model; ModelState = modelState; } #endregion #region Properties /// /// Gets a model /// public T Model { get; protected set; } /// /// Gets a model state /// public ModelStateDictionary ModelState { get; protected set; } #endregion }