Skip to content
Discussion options

You must be logged in to vote

They are logged as separate TaskParameterEventArgs instances, not directly in the TaskStartedEvent. And there's not (currently, ask if it would help :)) a separate event for them, so you would have to listen to AnyEventRaised, then filter. An example of that can be found in our binary logger:

eventSource.AnyEventRaised += EventSource_AnyEventRaised;

case TaskParameterEventArgs taskParameter: Write(taskParameter); break;

Replies: 1 comment 2 replies

Comment options

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

@meirumeiru
Comment options

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