Esempio n. 1
0
        public string GetWhatShapeIsThis(int a, int b, int c)
        {
            var properties = new Dictionary <string, string> {
                { "Argument 'a'", a.ToString() }, { "Argument 'b'", b.ToString() }, { "Argument 'c'", c.ToString() }
            };

            telemetry.TrackEvent("WhatShapeIsThis", properties);

            TriangleType result = TriangleType.Error;

            result = new ShapeService().ClassifyTriangleType(a, b, c);
            return(result.ToString());
        }