Example #1
0
 public ModelChangeEvent(object model, ModelChangeKind change)
 {
     this.Identity = Guid.NewGuid();
     this.Model = model;
     this.Change = change;
 }
Example #2
0
 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));
 }
Example #4
0
 public ModelChangeEvent(object model, ModelChangeKind change)
 {
     this.Identity = Guid.NewGuid();
     this.Model    = model;
     this.Change   = change;
 }