Skip to content

Add ActivitySource.StartActivity overload and support CallerMemberNameAttribute for name parameter - #47192

Merged
tarekgh merged 2 commits into
dotnet:masterfrom
tarekgh:ActivitySourceAPI
Jan 22, 2021
Merged

tarekgh merged 2 commits into
dotnet:masterfrom
tarekgh:ActivitySourceAPI

Conversation

@tarekgh

@tarekgh tarekgh commented Jan 19, 2021

Copy link
Copy Markdown
Member

Fixes #43483

@ghost

ghost commented Jan 19, 2021

Copy link
Copy Markdown

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

@tarekgh
tarekgh requested a review from noahfalk January 19, 2021 21:22
@tarekgh

tarekgh commented Jan 19, 2021

Copy link
Copy Markdown
Member Author

@noahfalk could you please help reviewing this one? Thanks!

@noahfalk noahfalk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tarekgh
tarekgh merged commit 9043663 into dotnet:master Jan 22, 2021
@tarekgh
tarekgh deleted the ActivitySourceAPI branch January 22, 2021 17:23
@ghost ghost locked as resolved and limited conversation to collaborators Feb 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide default activity name value from [CallerMemberName] in ActivitySource.StartActivity

3 participants