예제 #1
0
 public ContextAccountCreatedDomainEvent(GeneralDomainEvent domainEvent)
 {
     Version        = domainEvent.Version;
     EventName      = domainEvent.EventName;
     XCorrelationId = domainEvent.XCorrelationId;
     XSender        = domainEvent.XSender;
     Payload        = (domainEvent.Payload as JObject)?.ToObject <ContextAccountCreatedDomainEventData>();
 }
 public CapabilityRegisteredDomainEvent(GeneralDomainEvent domainEvent)
 {
     Version        = domainEvent.Version;
     EventName      = domainEvent.EventName;
     XCorrelationId = domainEvent.XCorrelationId;
     XSender        = domainEvent.XSender;
     Payload        = (domainEvent.Payload as JObject)?.ToObject <CapabilityRegisteredDomainEventData>();
 }
 public CapabilityRegisteredDomainEvent(GeneralDomainEvent domainEvent)
 {
     Version        = domainEvent.Version;
     EventName      = domainEvent.EventName;
     XCorrelationId = domainEvent.XCorrelationId;
     XSender        = domainEvent.XSender;
     Payload        = (domainEvent.Payload as JObject)?.ToObject <CapabilityRegisteredDomainEventData>();
     Log.Warning("Instantiating deprecated {Type} with data {Data} ", this.GetType().FullName, Payload);
 }
 public ContextAddedToCapabilityDomainEvent(GeneralDomainEvent domainEvent)
 {
     MessageId = domainEvent.MessageId;
     Type      = domainEvent.Type;
     Data      = (domainEvent.Data as JObject)?.ToObject <ContextAddedToCapabilityData>();
 }
예제 #5
0
 public CapabilityCreatedDomainEvent(GeneralDomainEvent domainEvent)
 {
     MessageId = domainEvent.MessageId;
     Type      = domainEvent.Type;
     Data      = (domainEvent.Data as JObject)?.ToObject <CapabilityCreatedData>();
 }
예제 #6
0
 public K8sNamespaceCreatedAndAwsArnConnectedEvent(GeneralDomainEvent domainEvent)
 {
 }