Freigeben über


Code Snippet: switch

Type sw to select switch:

Double tab to expand:

Choose the switch_on parameter, in this case I have a parameter of type DayOfWeek (enum):

Voilà: