22 lines
533 B
C#
22 lines
533 B
C#
using Domain.AggregateModel.AppAggregate;
|
|
using MediatR;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Domain.Events
|
|
{
|
|
//更新了基础地址
|
|
public class AppBaseUrlUpdatedDomainEvent: INotification
|
|
{
|
|
public App App { get; set; }
|
|
public string OldBaseUrl { get; set; }
|
|
public AppBaseUrlUpdatedDomainEvent(App app,string oldBaseUrl) {
|
|
App = app;
|
|
OldBaseUrl = oldBaseUrl;
|
|
}
|
|
}
|
|
}
|