To make my example easier to follow, I chose not to modify code, but you are welcome to dive in and rewrite the entire kernel subsystem if you are so inclined.
为了让我的例子更容易试验,我没有选择修改源代码;不过只要您希望,欢迎继续重写整个内核的子系统。
I began by replacing the example code in my unit test which instantiates the task library's classes with example code for my unimplemented DSL and revised it several times until I was satisfied.
我开始将我单元测试中初始化任务库各个类的范例代码替换成我尚未实现的DSL的范例代码,并且修改了数次,直到我满意为止。
In my example, to keep the model clean, I simply list these properties as having a data type code.
在我的示例中,为保持模型整洁,我仅仅将这些值列举为拥有一个数据类型code。
应用推荐