摘要: interface IMyResource { … }class MyResource : IMyResource, IDisposable { … } var builder = new ContainerBuilder();builder.RegisterType().As();using (... 阅读全文
posted @ 2014-07-12 09:48 vuuvv 阅读(322) 评论(1) 推荐(0) 编辑