Assertion: command's switch | /r/HasProperty | the invoker
Facets:
Source sentences:
text: ICommand switchClose = new CloseSwitchCommand ( lamp ); ICommand switchOpen = new OpenSwitchCommand ( lamp ); // Pass reference to instances of the Command objects to the switch Switch @switch = new Switch ( switchClose , switchOpen ); if ( argument == "ON" ) { // Switch (the Invoker) will invoke Execute() on the command object.
text: // Switch (the Invoker) will invoke the Execute() on the command object.