-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use AddPermissionProvider & AddNavigationProvider in OpenID #16960
base: main
Are you sure you want to change the base?
Conversation
Can you please do the same thing everywhere so we don't have 1 PR per file? https://github.com/search?q=repo%3AOrchardCMS%2FOrchardCore+ServiceDescriptor.Scoped%3C&type=code |
The aim is not to replace the |
These are the only not updated in the code base |
To make this PR more useful, I suggest to replace all these https://github.com/search?q=repo%3AOrchardCMS%2FOrchardCore+services.TryAddEnumerable&type=code this way we don't see many PR like this doing the same thing just for another service. |
Just one thing I'm afraid of is to break existing behavior coz TryAddXXX is not similar to AddXXX |
src/OrchardCore/OrchardCore.Infrastructure/Entities/ServiceCollectionExtensions.cs
Outdated
Show resolved
Hide resolved
src/OrchardCore/OrchardCore.Infrastructure/Entities/ServiceCollectionExtensions.cs
Outdated
Show resolved
Hide resolved
…lectionExtensions.cs
No description provided.