Quantcast
Channel: Switch issue?
Viewing all articles
Browse latest Browse all 3

Switch issue?

$
0
0

Hello,

For example,

switch(x) {

    case (int)MyEnum.Blue:

    break;

    case (int)MyEnum.Yellow:

    break;

}

I found there is Switch<T> activity...however, for "case value", I wasn't able to type expression. It looks like it only accepts constant....

In the Switch<T> designer, how do I specify the case value as enum type like above example?

Thanks,


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images