-
-
Notifications
You must be signed in to change notification settings - Fork 4
Add default bindings for Named Factory #151
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
Conversation
Ping @pavel-usachev for review. |
foreach (var namedBinding in bindings) | ||
{ | ||
if (namedBinding.ServiceType != typeof(TService)) | ||
continue; | ||
|
||
if (namedBinding.Name.Equals(name)) | ||
return namedBinding; | ||
|
||
if (namedBinding.Name.Equals(NamedBinding.DefaultName)) | ||
binding = namedBinding; | ||
} |
Check notice
Code scanning / CodeQL
Missed opportunity to use Where
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #151 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 13 13
Lines 269 304 +35
Branches 40 48 +8
=========================================
+ Hits 269 304 +35 ☔ View full report in Codecov by Sentry. |
No description provided.