摘要: 因为WF Rules 是针对Instance而非Type,也就是说针对单个对象而不是针对于集合,所以对于集合的规则来说,就显得实现起来非常麻烦,首先需要定义额外的属性,另外需要定义多个规则,而且要精心设计,才能实现迭代。典型的实现如下: Rule 1 (Priority = 2) //Always execute this rule once to create the enumerator.... 阅读全文
posted @ 2007-07-23 10:51 headchen 阅读(208) 评论(0) 推荐(0) 编辑