Exemple #1
0
 public MetricFactory(IMetricDataFactory dataFactory,
                      IMetricDataSaver dataSaver,
                      SettingsFactory settingsFactory)
 {
     _dataFactory     = dataFactory;
     _dataSaver       = dataSaver;
     _settingsFactory = settingsFactory;
 }
Exemple #2
0
 public Metric(MetricData data,
               IMetricDataSaver dataSaver)
 {
     _data      = data;
     _dataSaver = dataSaver;
 }