-
Notifications
You must be signed in to change notification settings - Fork 790
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
Add support for regex #1023
Add support for regex #1023
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1023 +/- ##
==========================================
- Coverage 75.52% 75.38% -0.14%
==========================================
Files 222 221 -1
Lines 6210 6221 +11
==========================================
Hits 4690 4690
- Misses 1520 1531 +11
|
|
||
foreach (var name in sources) | ||
{ | ||
activitySources[name] = true; | ||
if (string.IsNullOrWhiteSpace(name)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cijothomas Do we still need to listen to the blank source for the legacy Activity objects? Or did the ActivitySourceAdapter take care of that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Superseded by #1032. |
This allows folks to use (and later will be available in builder pattern
AddActivitySource("MyCompany.MyProduct.*")
):I didn't add test cases/examples/tutorial, will add it after the API got cleaned up (otherwise we'll waste energy changing them back and force).