Skip to content

Commit

Permalink
fix AddClasses registration error
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonyNET committed Nov 9, 2024
1 parent e6a329e commit 7411f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Scrutor/ImplementationTypeSelector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public IServiceTypeSelector AddClasses(bool publicOnly)

public IServiceTypeSelector AddClasses(Action<IImplementationTypeFilter> action)
{
return AddClasses(action, publicOnly: false);
return AddClasses(action, publicOnly: true);
}

public IServiceTypeSelector AddClasses(Action<IImplementationTypeFilter> action, bool publicOnly)
Expand Down

0 comments on commit 7411f25

Please sign in to comment.