阅读背景:

如何将IEnumerable 加起来

来源:互联网 

I have an IEnumerable<IDisposable> collection that I need to dispose of at a given point. The issue is that for some cases all the object will be of one type and disposing of the objects needs to be done by collecting some data from them and making a single RPC call. In other cases, the objects will be of another type and I just need to call Dispose on each of them. collection t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: