在Properties 窗口中,指定该状态的迕入行为(Entry action)和离开行为(Exit action)。 当迕入此状态时,我们将用于计数潜在客户的变量增加1。
基于12个网页-相关网页
When exiting the method, the exit action is performed.
当退出方法时,执行exit action。
Let's improve the exit action a little, as shown in Listing 3.
让我们稍稍改进一下“退出”操作,如清单3所示。
Exit actions are used to specify the actions that an object has to perform when it exits from a particular state. You can associate an exit action with an exit event.
出口操作用于指定对象退出特定状态时必须执行的操作,您可以将出口操作与出口事件相关联。
应用推荐