dotnet-cqrs/Svrnty.CQRS.DynamicQuery.Abstractions/DynamicQueryInterceptorProvider.cs

20 lines
457 B
C#

using System;
using System.Collections.Generic;
namespace Svrnty.CQRS.DynamicQuery.Abstractions;
public class DynamicQueryInterceptorProvider<TSource, TDestination> : IDynamicQueryInterceptorProvider<TSource, TDestination>
{
private readonly Type[] _types;
public DynamicQueryInterceptorProvider(params Type[] types)
{
_types = types;
}
public IEnumerable<Type> GetInterceptorsTypes()
{
return _types;
}
}