예제 #1
0
 public StatsEvent(StatsManager statsManager, ITagContext tags, IEnumerable <IMeasurement> stats)
 {
     this.statsManager = statsManager;
     this.tags         = tags;
     this.stats        = stats;
 }
예제 #2
0
 internal StatsRecorder(StatsManager statsManager)
 {
     this.statsManager = statsManager ?? throw new ArgumentNullException(nameof(statsManager));
 }
예제 #3
0
 internal Stats()
 {
     this.statsManager  = new StatsManager(new SimpleEventQueue(), this.state);
     this.viewManager   = new ViewManager(this.statsManager);
     this.statsRecorder = new StatsRecorder(this.statsManager);
 }
예제 #4
0
 internal static IMeasureMap Create(StatsManager statsManager)
 {
     return(new MeasureMap(statsManager));
 }
예제 #5
0
 internal MeasureMap(StatsManager statsManager)
 {
     this.statsManager = statsManager;
 }
예제 #6
0
 internal ViewManager(StatsManager statsManager)
 {
     this.statsManager = statsManager;
 }