private void TrackSpecialState <TState>(TState state) { var telemetry = ManagedStateToTelemetry[typeof(TState)](state); telemetryClient.Track(telemetry); }
private static bool IsSpecialState <TState>(TState state) { return(ManagedStateToTelemetry.ContainsKey(typeof(TState))); }