Interface Switchable

Interface that allows object to be switchable in off and on state.

interface Switchable ;

Properties

NameTypeDescription
enabled[get]inout(bool)Get the state of object.
enabled[set]SwitchableSet the state of object.