Add the following lines to the top of the rule class.
向规则类的顶部添加下列代码。
The rule class is quite simple, typically containing only a single method.
规则类是十分简单的,典型情况下只包含一个方法。
Change the rule implementation class.
更改规则实现类。
Define the class that represents the rule.
定义代表规则的类。
The queueing system imposes an important exception to this rule with a priority class.
这个排队系统在 prioirty类(class)上增加了重要的规则。
In this case, the class attribute contains a fully qualified class path for the rule.
在这个例子中,class属性包含一个用于规则的完整的类路径。
Let's make it a rule that we mustn't speak Chinese in English class.
我们把英语课上不许讲汉语当作一条规则确定下来吧。
The teacher made it a rule to speak only English in class.
老师规定在课堂上只能讲英语。
He will Break the rule if he skips class.
如果他逃课的话他将违反校规。
He made it a rule only to speak English in class.
他规定课上只能说英语。
Class, what is the rule about asking questions?
同学们关于问问题的规矩是怎样的?
Class, what is the rule about asking questions?
同学们关于问问题的规矩是怎样的?
应用推荐