Home Cooker Classes Others Rice
Classes  >  neva  >  Switch
neva class : Switch getter

Description

Gets the switch to control the handler execution.

Syntax

nevaInstance.Switch

Arguments

None

Return value

ClassDescription
switchSwitch to control the handler execution.

Sample code

1:

open method void NoticeHandler(neva ea)

2:

...

3:

switch ehs = ea.Switch;

4:

ehs.Stop(); // Stops handling.

5:

...

6:

endmethod

Notes

None.

Links for reference

None.

Copyright © Rice All rights reserved.