Using an expensive object might not be an optimal design choice, but you can control the life cycle of the object using the ObjectCreating, ObjectCreated, and ObjectDisposing events.

 
  • 使用高开销对象可能并不是最佳的设计选择,但是可以使用ObjectCreating、ObjectCreated和ObjectDisposing事件来控制该对象的生存期。
今日热词
目录 附录 查词历史