Example #1
0
 public CreateNewProjectionVersion(ProjectionVersionRequested projectionVersionRequest, DateTime publishAt)
 {
     ProjectionVersionRequest = projectionVersionRequest;
     PublishAt = publishAt;
 }
Example #2
0
        private void RequestVersion(ProjectionVersionManagerId id, ProjectionVersion projectionVersion, VersionRequestTimebox timebox)
        {
            var @event = new ProjectionVersionRequested(id, projectionVersion, timebox);

            Apply(@event);
        }
Example #3
0
 public ProjectionVersionRequestHeartbeat(ProjectionVersionRequested projectionVersionRequest, DateTime publishAt)
 {
     ProjectionVersionRequest = projectionVersionRequest;
     PublishAt = publishAt;
 }
 public void When(ProjectionVersionRequested e)
 {
     Id = e.Id;
     Versions.Add(e.Version);
     LastVersionRequestTimebox = e.Timebox;
 }
Example #5
0
 public void Handle(ProjectionVersionRequested @event)
 {
     State.Id = @event.Id;
     State.AllVersions.Add(@event.Version);
 }
 public void Handle(ProjectionVersionRequested @event)
 {
     State.Id       = @event.Id;
     State.Building = @event.ProjectionVersion;
 }
Example #7
0
 public ProjectionVersionRebuildTimedout(ProjectionVersionRequested projectionVersionRequest, DateTime publishAt)
 {
     ProjectionVersionRequest = projectionVersionRequest;
     PublishAt = publishAt;
 }
 public Task HandleAsync(ProjectionVersionRequested @event)
 {
     State.Id = @event.Id;
     State.AllVersions.Add(@event.Version);
     return(Task.CompletedTask);
 }