public async Task OnPostDeleteAsync(PostDeleteEvent @event, CancellationToken cancellationToken) { await PublishEvents(@event.Entity, cancellationToken); }
public void OnPostDelete(PostDeleteEvent @event) { log.Debug("PostCommitDelete fired."); }
public async Task OnPostDeleteAsync(PostDeleteEvent @event, CancellationToken cancellationToken) { Console.WriteLine($"Received PostDelete event for entity {JsonConvert.SerializeObject( @event.Entity, Formatting.None, settings )}"); await Task.CompletedTask; }
public Task OnPostDeleteAsync(PostDeleteEvent @event, CancellationToken cancellationToken) { OnPostDelete(@event); return(Task.CompletedTask); }
public void OnPostDelete(PostDeleteEvent @event) { DispatchEvents(@event.Entity as AggregateRoot); }
public void OnPostDelete(PostDeleteEvent @event) { }
public void OnPostDelete(PostDeleteEvent ev) { DispatchEvents(ev.Entity as AggregateRoot); }
public async Task OnPostDeleteAsync(PostDeleteEvent @event, CancellationToken cancellationToken) => await PostCommitAsync(@event.Entity, cancellationToken);
public void OnPostDelete(PostDeleteEvent @event) => PostCommit(@event.Entity);
/// <inheritdoc /> public async Task OnPostDeleteAsync(PostDeleteEvent e, CancellationToken cancellationToken) => await Task.Run(() => OnPostDelete(e), cancellationToken);
public void OnPostDelete(PostDeleteEvent @event) { //no-op }
public void OnPostDeleteLogEvent(PostDeleteEvent @event) { PostDatabaseOperationEvent(@event, null, @event.DeletedState, "DELETE"); }
/// <summary> /// Removes Full-Text Indices on deleted entities. /// </summary> /// <param name="e"> /// Post delete parameters /// </param> public void OnPostDelete(PostDeleteEvent e) { _fullTextModel.DeleteIndexForEntity(e.Entity); }
public void OnPostDelete(PostDeleteEvent @event) { var t = PublishEvents(@event.Entity, CancellationToken.None); Task.WaitAll(t); }
public IEnumerable <AuditLogEntry> CreateEntries(PostDeleteEvent e) { yield break; }
public void OnPostDelete(PostDeleteEvent @event) { AuditTrailManager?.OnPostDeleteLogEvent(@event); }
public void OnPostDelete(IUnitOfWorkTracked uow, PostDeleteEvent deleteEvent) { var change = new EntityChangeEvent(deleteEvent); entityChanges.Add(change); }
public void OnPostDelete(PostDeleteEvent @event) { Dispatch(typeof(IOnEntityDeleted <>), "Deleted", @event.Entity); }
public async Task OnPostDeleteAsync(PostDeleteEvent @event, CancellationToken cancellationToken) => await DispatchEvents(@event);
public async Task OnPostDeleteAsync(PostDeleteEvent @event, CancellationToken cancellationToken) { await Task.Run(() => OnPostDelete(@event), cancellationToken); }
public Task OnPostDeleteAsync(PostDeleteEvent @event, CancellationToken cancellationToken = default(CancellationToken)) { return(Task.Run(() => OnPostDelete(@event), cancellationToken)); }
public DeleteWorkUnit(PostDeleteEvent @event, VersionedClass versionedClass) : base(@event, versionedClass) { DeletedState = Tools.CloneArray(@event.DeletedState); }
public async Task OnPostDeleteAsync(PostDeleteEvent @event, CancellationToken cancellationToken) { DispatchEvents(@event.Entity as AggregateRoot); }
public Task OnPostDeleteAsync(PostDeleteEvent @event, CancellationToken cancellationToken) { return(PublishEventAsync(@event.Entity, @event.Session, PostEntityActionType.Delete)); }
public void OnPostDelete(PostDeleteEvent ev) { DispatchEvents(ev.Entity); }
public void OnPostDelete(PostDeleteEvent @event) { PublishEventAsync(@event.Entity, @event.Session, PostEntityActionType.Delete).GetAwaiter().GetResult(); }
public void OnPostDelete(PostDeleteEvent @event) { Console.WriteLine($"Received PostDelete event for entity {JsonConvert.SerializeObject( @event.Entity, Formatting.None, settings )}"); }
public abstract void Deleted(PostDeleteEvent eventArgs);
public Task OnPostDeleteAsync(PostDeleteEvent @event, CancellationToken cancellationToken) { throw new NotImplementedException(); }
/// <summary> /// Called when [post delete]. /// </summary> /// <param name="event">The @event.</param> public void OnPostDelete(PostDeleteEvent @event) { AuditPatientAccess(@event.Entity, @event, PatientAccessEventType.DeleteEvent, () => GetAuditNoteForEntity(@event.Entity)); }