Skip to content

Activity function overloading #2288

Answered by cgillum
yell0wfl4sh asked this question in Q&A
Discussion options

You must be logged in to vote

AFAIK Azure Functions doesn't support multiple functions with the same name, regardless of whether they are activity functions or something else. That makes me think that there might be some misunderstanding about what's actually happening.

If I'm reading this correctly, the difference between those two lines you shared is nameof(GetTrainingEventContentActivity) vs. nameof(this.GetTrainingEventContentActivity). However, both expressions should get compiled down to "GetTrainingEventContentActivity". You can see an example here: https://dotnetfiddle.net/IAFXto.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@yell0wfl4sh
Comment options

@cgillum
Comment options

Answer selected by yell0wfl4sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants