@Test public void testSetInstrumentationKey() { TelemetryContext context = new TelemetryContext(); context.setInstrumentationKey("key"); assertEquals("key", context.getInstrumentationKey()); }
public void setInstrumentationKey(String instrumentationKey) { this.instrumentationKey = instrumentationKey; this.normalizedInstrumentationKey = BaseTelemetry.normalizeInstrumentationKey(instrumentationKey); }
TelemetryContext { public void setInstrumentationKey(String instrumentationKey) { this.instrumentationKey = instrumentationKey; this.normalizedInstrumentationKey = BaseTelemetry.normalizeInstrumentationKey(instrumentationKey); } }
TelemetryContext { public void setInstrumentationKey(String instrumentationKey) { this.instrumentationKey = instrumentationKey; this.normalizedInstrumentationKey = BaseTelemetry.normalizeInstrumentationKey(instrumentationKey); } TelemetryContext();   TelemetryContext(ConcurrentMap<String, String> properties, ContextTagsMap tags); }
TelemetryContext { public void setInstrumentationKey(String instrumentationKey) { this.instrumentationKey = instrumentationKey; this.normalizedInstrumentationKey = BaseTelemetry.normalizeInstrumentationKey(instrumentationKey); } TelemetryContext();   TelemetryContext(ConcurrentMap<String, String> properties, ContextTagsMap tags); ComponentContext getComponent(); DeviceContext getDevice(); SessionContext getSession(); UserContext getUser(); OperationContext getOperation(); LocationContext getLocation(); CloudContext getCloud(); String getInstrumentationKey(); String getNormalizedInstrumentationKey(); void setInstrumentationKey(String instrumentationKey); void setInstrumentationKey(String instrumentationKey, String normalizedInstrumentationKey); ConcurrentMap<String, String> getProperties(); ConcurrentMap<String, String> getTags(); void initialize(TelemetryContext source); InternalContext getInternal(); }
TelemetryContext { public void setInstrumentationKey(String instrumentationKey) { this.instrumentationKey = instrumentationKey; this.normalizedInstrumentationKey = BaseTelemetry.normalizeInstrumentationKey(instrumentationKey); } TelemetryContext();   TelemetryContext(ConcurrentMap<String, String> properties, ContextTagsMap tags); ComponentContext getComponent(); DeviceContext getDevice(); SessionContext getSession(); UserContext getUser(); OperationContext getOperation(); LocationContext getLocation(); CloudContext getCloud(); String getInstrumentationKey(); String getNormalizedInstrumentationKey(); void setInstrumentationKey(String instrumentationKey); void setInstrumentationKey(String instrumentationKey, String normalizedInstrumentationKey); ConcurrentMap<String, String> getProperties(); ConcurrentMap<String, String> getTags(); void initialize(TelemetryContext source); InternalContext getInternal();  }