This commit is contained in:
David Lebee
2018-11-23 01:42:53 -06:00
parent 344caf689e
commit 087153b5b7
4 changed files with 32 additions and 25 deletions
@@ -9,7 +9,7 @@
<RepositoryUrl>https://github.com/PoweredSoft/DynamicQuery</RepositoryUrl>
<RepositoryType>github</RepositoryType>
<PackageTags>powered,soft,dynamic,criteria,query,builder,asp,net,core</PackageTags>
<Version>1.0.1</Version>
<Version>1.0.2</Version>
<PackageIconUrl>https://secure.gravatar.com/avatar/4e32f73820c16718909a06c2927f1f8b?s=512&amp;amp;r=g&amp;amp;d=retro</PackageIconUrl>
</PropertyGroup>
@@ -1,23 +0,0 @@
using Microsoft.Extensions.DependencyInjection;
using PoweredSoft.DynamicQuery.Core;
using System;
using System.Collections.Generic;
using System.Text;
namespace PoweredSoft.DynamicQuery.AspNetCore
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddPoweredSoftDynamicQuery(this IServiceCollection services)
{
services.AddTransient<ISort, Sort>();
services.AddTransient<IAggregate, Aggregate>();
services.AddTransient<ISimpleFilter, SimpleFilter>();
services.AddTransient<ICompositeFilter, CompositeFilter>();
services.AddTransient<IGroup, Group>();
services.AddTransient<IQueryCriteria, QueryCriteria>();
services.AddTransient<IQueryHandler, QueryHandler>();
return services;
}
}
}