You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Confusing example and behavior regarding If(...).Then(() => ...) #188
Is this doing what it's supposed to be doing? Trying this locally, .Then(() => ...) binds to ConditionalBuilder.Then(Expression), notCodeGenerator.Then(ConditionalBuilder, Action). This also makes the API a bit unwieldy in general, since I have to write code with casts like this:
If(...).Then((Action)(()=>{// ...})).End()
Not sure if I'm misunderstanding something or if this is unintended. 🤔
Activity
sakno commentedon Aug 23, 2023
Thanks to MS, they introduced breaking change. See dotnet/csharplang#5157. If you have any suggestions, I'm ready to discuss.
Fixed #188