private static string GetHttpTelemetryName()

in src/Library/TelemetryGenerator.cs [561:579]


        private static string GetHttpTelemetryName(string method, string path, string route)
        {
            if (method == null && path == null && route == null)
            {
                return null;
            }

            if (path == null && route == null)
            {
                return method;
            }

            if (method == null)
            {
                return route ?? path;
            }

            return method + " " + (route ?? path);
        }