public ModelChangeEvent(object model, ModelChangeKind change) { this.Identity = Guid.NewGuid(); this.Model = model; this.Change = change; }
public static IDomainNotification CreateModelNotification(Guid modelId, object model, ModelChangeKind change) { return(new DomainNotification(new DomainTopic(model.GetType(), modelId), new ModelChangeEvent(model, change))); }
public static IDomainNotification CreateModelNotification(Guid modelId, object model, ModelChangeKind change) { return new DomainNotification(new DomainTopic(model.GetType(), modelId), new ModelChangeEvent(model, change)); }
public ModelChangeEvent(object model, ModelChangeKind change) { this.Identity = Guid.NewGuid(); this.Model = model; this.Change = change; }