This pull request mainly focuses on renaming and enhancing the SupportKeyInitializer to SupportInformationInitializer across the codebase, along with adding a new property to the telemetry. The most important changes include renaming the class and updating its usage, as well as adding a new telemetry property.
This pull request mainly focuses on renaming and enhancing the
SupportKeyInitializer
toSupportInformationInitializer
across the codebase, along with adding a new property to the telemetry. The most important changes include renaming the class and updating its usage, as well as adding a new telemetry property.Class renaming and property addition:
src/Core/ApiClientCodeGen.Core/Logging/SupportInformationInitializer.cs
: CreatedSupportInformationInitializer
class to replaceSupportKeyInitializer
and added a new propertyversion
to the telemetry.src/Core/ApiClientCodeGen.Core/Logging/SupportKeyInitializer.cs
: Removed theSupportKeyInitializer
class.Test updates:
src/Core/ApiClientCodeGen.Core.Tests/Logging/SupportInformationInitializerTests.cs
: Renamed fromSupportKeyInitializerTests
toSupportInformationInitializerTests
, and added a new test to verify theversion
property is added to telemetry.Usage updates:
src/Core/ApiClientCodeGen.Core/Logging/AppInsightsRemoteLogger.cs
: Updated the usage ofSupportKeyInitializer
toSupportInformationInitializer
in theAppInsightsRemoteLogger
constructor.