Beispiel #1
0
 public ValuesController(FreshCounter freshCounter, PerRequestCounter perRequestCounter, LifetimeCounter lifetimeCounter, ITimeService timeService)
 {
     this.freshCounter      = freshCounter;
     this.perRequestCounter = perRequestCounter;
     this.lifetimeCounter   = lifetimeCounter;
     this.timeService       = timeService;
 }
Beispiel #2
0
 public CounterAttribute(FreshCounter freshCounter, PerRequestCounter perRequestCounter, LifetimeCounter lifetimeCounter)
 {
     this.freshCounter      = freshCounter;
     this.perRequestCounter = perRequestCounter;
     this.lifetimeCounter   = lifetimeCounter;
 }