public DefaultDataProvider(string context,
     Func<DateTime> timestampProvider,
     RegistryDataProvider registryDataProvider,
     Func<IEnumerable<MetricsDataProvider>> childProviders)
     : this(context, timestampProvider, Enumerable.Empty<EnvironmentEntry>(), registryDataProvider, childProviders)
 {
 }
 public DefaultDataProvider(string context,
                            Func <DateTime> timestampProvider,
                            RegistryDataProvider registryDataProvider,
                            Func <IEnumerable <MetricsDataProvider> > childProviders)
     : this(context, timestampProvider, Enumerable.Empty <EnvironmentEntry>(), registryDataProvider, childProviders)
 {
 }
示例#3
0
 public DefaultDataProvider(string context, IEnumerable <EnvironmentEntry> environment,
                            RegistryDataProvider registryDataProvider, Func <IEnumerable <MetricsDataProvider> > childProviders)
 {
     this.context              = context;
     this.environment          = environment;
     this.registryDataProvider = registryDataProvider;
     this.childProviders       = childProviders;
 }
 public DefaultDataProvider(string context,
     Func<DateTime> timestampProvider,
     IEnumerable<EnvironmentEntry> environment,
     RegistryDataProvider registryDataProvider,
     Func<IEnumerable<MetricsDataProvider>> childProviders)
 {
     this.context = context;
     this.timestampProvider = timestampProvider;
     this.environment = environment;
     this.registryDataProvider = registryDataProvider;
     this.childProviders = childProviders;
 }