public WoftamEvent(string property1, string property2) : base(CorrelationId.NewId(), SourceId.NullSourceId())
 {
     Property1 = property1;
     Property2 = property2;
 }
示例#2
0
 public static CorrelatedMessage NewRoot()
 {
     return(new CorrelatedMessage(CorrelationId.NewId()));
 }
 public NewAggregate(Guid aggregateId) : base(CorrelationId.NewId(), SourceId.NullSourceId())
 {
     AggregateId = aggregateId;
 }
 public Increment(Guid aggregateId, uint amount) : base(CorrelationId.NewId(), SourceId.NullSourceId())
 {
     AggregateId = aggregateId;
     Amount      = amount;
 }
示例#5
0
 public TestWoftamAggregateCreated(Guid aggregateId) : base(CorrelationId.NewId(), SourceId.NullSourceId())
 {
     AggregateId = aggregateId;
 }