public void GetCount()
 {
     _scoped.IncreaseCount();
     _transient.IncreaseCount();
     _singelton.IncreaseCount();
     _lifeStyleService.Print();
 }
示例#2
0
 public void Print()
 {
     _singelton.IncreaseCount();
     _scoped.IncreaseCount();
     _transient.IncreaseCount();
 }