private void OnDataReceived()

in src/Library/Library.cs [189:206]


        private void OnDataReceived(InstanceMsg instance)
        {
            try
            {
                foreach (var telemetry in this.telemetryGenerator.Generate(instance))
                {
                    if (telemetry != null)
                    {
                        this.telemetryClient.Track(telemetry);
                    }
                }
            }
            catch (System.Exception e)
            {
                // unexpected exception occured, let the caller handle it
                throw;
            }
        }