Skip to content

Commit

Permalink
Make more inspection stuff internal
Browse files Browse the repository at this point in the history
  • Loading branch information
MDoerner committed Mar 7, 2020
1 parent 3cdd860 commit fb9b8bb
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 4 deletions.
@@ -1,8 +1,8 @@
using System.Collections.Generic;

namespace Rubberduck.CodeAnalysis.Inspections
namespace Rubberduck.CodeAnalysis.Inspections.Logistics
{
public interface IInspectionProvider
internal interface IInspectionProvider
{
IEnumerable<IInspection> Inspections { get; }
}
Expand Down
@@ -1,5 +1,6 @@
using System.Collections.Generic;
using System.Linq;
using Rubberduck.CodeAnalysis.Inspections.Logistics;
using Rubberduck.Settings;
using Rubberduck.CodeAnalysis.Settings;

Expand Down
1 change: 1 addition & 0 deletions Rubberduck.CodeAnalysis/Inspections/Logistics/Inspector.cs
Expand Up @@ -12,6 +12,7 @@
using NLog;
using Rubberduck.CodeAnalysis.Inspections;
using Rubberduck.CodeAnalysis.Inspections.Attributes;
using Rubberduck.CodeAnalysis.Inspections.Logistics;
using Rubberduck.Parsing.VBA;
using Rubberduck.Parsing.VBA.Parsing;
using Rubberduck.VBEditor;
Expand Down
@@ -1,13 +1,13 @@
using System.Collections.Generic;
using System.Linq;
using Rubberduck.CodeAnalysis.Inspections;
using Rubberduck.CodeAnalysis.Inspections.Logistics;
using Rubberduck.JunkDrawer.Extensions;
using Rubberduck.SettingsProvider;
using Rubberduck.Settings;

namespace Rubberduck.CodeAnalysis.Settings
{
public class CodeInspectionConfigProvider : ConfigurationServiceBase<CodeInspectionSettings>
internal class CodeInspectionConfigProvider : ConfigurationServiceBase<CodeInspectionSettings>
{
private readonly HashSet<string> foundInspectionNames;

Expand Down
1 change: 1 addition & 0 deletions Rubberduck.Main/Root/RubberduckIoCInstaller.cs
Expand Up @@ -255,6 +255,7 @@ private void RegisterConfiguration(IWindsorContainer container, Assembly[] assem
foreach (var assembly in assembliesToRegister)
{
container.Register(Classes.FromAssembly(assembly)
.IncludeNonPublicTypes()
.BasedOn(typeof(ConfigurationServiceBase<>))
.WithServiceSelect((type, hierarchy) =>
{
Expand Down
1 change: 1 addition & 0 deletions RubberduckTests/Inspections/InspectionsHelper.cs
@@ -1,6 +1,7 @@
using Moq;
using System.Linq;
using Rubberduck.CodeAnalysis.Inspections;
using Rubberduck.CodeAnalysis.Inspections.Logistics;
using Rubberduck.Inspections.Rubberduck.Inspections;
using Rubberduck.SettingsProvider;
using Rubberduck.CodeAnalysis.Settings;
Expand Down
Expand Up @@ -3,6 +3,7 @@
using Moq;
using NUnit.Framework;
using Rubberduck.CodeAnalysis.Inspections;
using Rubberduck.CodeAnalysis.Inspections.Logistics;
using Rubberduck.SettingsProvider;
using Rubberduck.CodeAnalysis.Settings;

Expand Down

0 comments on commit fb9b8bb

Please sign in to comment.