Skip to content

Getting Error while implementing OR Conditon #351

Answered by snikolayev
rpulekar asked this question in Q&A
Discussion options

You must be logged in to vote

@rpulekar it would be nice when you say "it's not working" to give not just a snippet, but a unit test that can be executed, to demonstrate what exactly is not working, and also include the error message/trace/etc.

Just at a glance, what you are looking for is this:

When()
    .Match(() => input , input.condition == 'value1' || input.condition == 'value2');

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rpulekar
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