Skip to content

Commit 2c8f15d

Browse files
author
Timothy Mothra Lee (from Dev Box)
committed
fix
1 parent 7e6c87b commit 2c8f15d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/BasicConsoleApp/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ internal class MyCustomTelemetryInitializer : ITelemetryInitializer
6161
public void Initialize(ITelemetry telemetry)
6262
{
6363
// Replace with actual properties.
64-
(telemetry as ISupportProperties)?.Properties["MyCustomKey"] = "MyCustomValue";
64+
(telemetry as ISupportProperties).Properties["MyCustomKey"] = "MyCustomValue";
6565
}
6666
}
6767

0 commit comments

Comments
 (0)