Permalink
125db99 Oct 26, 2017
1 contributor

Users who have contributed to this file

15 lines (14 sloc) 574 Bytes
namespace Sitecore.Foundation.DependencyInjection.Infrastructure
{
using Microsoft.Extensions.DependencyInjection;
using Sitecore.DependencyInjection;
public class MvcControllerServicesConfigurator : IServicesConfigurator
{
public void Configure(IServiceCollection serviceCollection)
{
serviceCollection.AddMvcControllers("*.Feature.*");
serviceCollection.AddClassesWithServiceAttribute("*.Feature.*");
serviceCollection.AddClassesWithServiceAttribute("*.Foundation.*");
}
}
}