C# Class Microsoft.HockeyApp.Extensibility.Implementation.Telemetry

显示文件 Open project: bitstadium/HockeySDK-Windows

Public Methods

Method Description
WriteEnvelopeProperties ( this telemetry, IJsonWriter json ) : void
WriteTelemetryName ( this telemetry, IJsonWriter json, string telemetryName ) : void

Private Methods

Method Description
NormalizeInstrumentationKey ( string instrumentationKey ) : string

Normalize instrumentation key by removing dashes ('-') and making string in the lowercase. In case no InstrumentationKey is available just return empty string. In case when InstrumentationKey is available return normalized key + dot ('.') as a separator between instrumentation key part and telemetry name part.

Method Details

WriteEnvelopeProperties() public static method

public static WriteEnvelopeProperties ( this telemetry, IJsonWriter json ) : void
telemetry this
json IJsonWriter
return void

WriteTelemetryName() public static method

public static WriteTelemetryName ( this telemetry, IJsonWriter json, string telemetryName ) : void
telemetry this
json IJsonWriter
telemetryName string
return void