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.

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

namespace Grand.Infrastructure.Events;

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

    public T Entity { get; private set; }
}