WF学习备忘(1)

自定义活动输入参数为集合:
 public InArgument<ICollection<T>> Collection { getset; }
ICollection<T> underlyingCollection = this.Collection.Get<ICollection<T>>(context);
初始化Collection变量 eg:  New System.Collections.ObjectModel.Collection(Of Integer) From {1, 2, 3, 4}
posted @ 2011-05-21 11:32  庖丁解.NET  阅读(217)  评论(0)    收藏  举报