Skip to content

Commit

Permalink
Removed "[UsedImplicitly]" and "this." in the NitroNetServicesConfigu…
Browse files Browse the repository at this point in the history
…rator class because they are not necessary.
  • Loading branch information
Manuel Fischer committed Aug 24, 2017
1 parent bc0505f commit 7cce73d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
using NitroNet.ViewEngine.TemplateHandler;
using NitroNet.ViewEngine.TemplateHandler.Grid;
using NitroNet.ViewEngine.ViewEngines;
using Sitecore;
using Sitecore.Configuration;
using Sitecore.DependencyInjection;
using Sitecore.Mvc.Common;
Expand All @@ -20,7 +19,6 @@

namespace NitroNet.Sitecore.Microsoft.DependencyInjection
{
[UsedImplicitly]
public class NitroNetServicesConfigurator : IServicesConfigurator
{
public void Configure(IServiceCollection serviceCollection)
Expand All @@ -40,7 +38,7 @@ protected virtual void RegisterNitroNetSitecore(IServiceCollection serviceCollec

protected virtual void RegisterNitroNet(IServiceCollection serviceCollection)
{
var basePath = this.GetNitroNetBasePath();
var basePath = GetNitroNetBasePath();

var config = ConfigurationLoader.LoadNitroConfiguration(basePath);
serviceCollection.AddSingleton(config);
Expand Down

0 comments on commit 7cce73d

Please sign in to comment.