Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

390 B
Raw Blame
using Grand.Domain;
using Grand.Mediator;

namespace Grand.Infrastructure.Events;

/// <summary>
///     A container for entities that are updated.
/// </summary>
/// <typeparam name="T"></typeparam>
public class EntityUpdated<T> : INotification where T : ParentEntity
{
    public EntityUpdated(T entity)
    {
        Entity = entity;
    }

    public T Entity { get; private set; }
}