dotnet-cqrs/OpenHarbor.CQRS.DynamicQuery.Abstractions/DynamicQueryInterceptorProvider.cs
Mathias Beaulieu-Duncan 1c81288895 update namespaces
refactor the name of the organisation
2023-11-04 15:24:56 -04:00

20 lines
461 B
C#

using System;
using System.Collections.Generic;
namespace OpenHarbor.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;
}
}