📜  servicecollection addedsingleton vs addtransient - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:00.182000             🧑  作者: Mango

代码示例1
//ref https://stackoverflow.com/questions/38138100/addtransient-addscoped-and-addsingleton-services-differences