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>(); }
public CapabilityCreatedDomainEvent(GeneralDomainEvent domainEvent) { MessageId = domainEvent.MessageId; Type = domainEvent.Type; Data = (domainEvent.Data as JObject)?.ToObject <CapabilityCreatedData>(); }
public K8sNamespaceCreatedAndAwsArnConnectedEvent(GeneralDomainEvent domainEvent) { }