better
This commit is contained in:
@@ -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;r=g&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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user