public static EventSourceKey get_event_source_key(EventSourceId event_source_id = null, ArtifactId artifact_id = null) { var es = event_source_id ?? EventSourceId.New(); var a = artifact_id ?? ArtifactId.New(); return(new EventSourceKey(es, a)); }
public static CommittedEvent single(uint event_log_sequence_number) => new CommittedEvent( event_log_sequence_number, DateTimeOffset.UtcNow, EventSourceId.New(), execution_contexts.create(), new Artifact(ArtifactId.New(), ArtifactGeneration.First), false, "{\"something\":42}");
public static CommittedEvent single() => new CommittedEvent( EventLogSequenceNumber.Initial, DateTimeOffset.UtcNow, EventSourceId.New(), execution_contexts.create(), new Artifact(ArtifactId.New(), ArtifactGeneration.First), false, "{\"something\":42}");
public static CommittedEvent single() => new CommittedEvent( EventLogSequenceNumber.Initial, DateTimeOffset.UtcNow, EventSourceId.New(), new ExecutionContext( Microservice.New(), TenantId.Unknown, Version.NotSet, Environment.Undetermined, CorrelationId.New(), Claims.Empty, CultureInfo.InvariantCulture), new MyFirstEvent());
public TheEventSource() : base(EventSourceId.New()) { }
public GenericEventSource() : base(EventSourceId.New()) { }
public ImplementationOfAbstractEventSource() : base(EventSourceId.New()) { }