using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace PoweredSoft.DynamicQuery.Core { public interface IAfterReadEntityInterceptor : IQueryInterceptor { void AfterReadEntity(List entities); } public interface IAfterReadEntityInterceptorAsync : IQueryInterceptor { Task AfterReadEntityAsync(List entities, CancellationToken cancellationToken = default(CancellationToken)); } public interface IAfterReadInterceptor : IQueryInterceptor { void AfterRead(List> pairs); } public interface IAfterReadInterceptorAsync : IQueryInterceptor { Task AfterReadAsync(List> pairs, CancellationToken cancellationToken = default(CancellationToken)); } public interface IAfterReadInterceptor : IQueryInterceptor { void AfterRead(List> pairs); } public interface IAfterReadInterceptorAsync : IQueryInterceptor { Task AfterReadAsync(List> pairs, CancellationToken cancellationToken = default(CancellationToken)); } }