File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
tracer/src/Datadog.Trace/Configuration/ConfigurationSources/Telemetry Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 12
12
13
13
namespace Datadog . Trace . Configuration . Telemetry ;
14
14
15
- internal readonly struct ConfigurationBuilder
15
+ internal readonly struct ConfigurationBuilder ( IConfigurationSource source , IConfigurationTelemetry telemetry )
16
16
{
17
- private readonly IConfigurationSource _source ;
18
- private readonly IConfigurationTelemetry _telemetry ;
19
-
20
- public ConfigurationBuilder ( IConfigurationSource source , IConfigurationTelemetry telemetry )
21
- {
22
- // If the source _isn't_ an IConfigurationSource, it's because it's a custom
23
- // IConfigurationSource implementation, so we treat that as a "Code" origin.
24
- _source = source ;
25
- _telemetry = telemetry ;
26
- }
17
+ private readonly IConfigurationSource _source = source ;
18
+ private readonly IConfigurationTelemetry _telemetry = telemetry ;
27
19
28
20
public HasKeys WithKeys ( string key ) => new ( _source , _telemetry , key ) ;
29
21
You can’t perform that action at this time.
0 commit comments