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

21 lines
514 B
C#
Raw Normal View History

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