Exemplo n.º 1
0
        public override Measure <long> CreateInt64Measure(string name, bool absolute = true)
        {
            if (!this.longMeasures.TryGetValue(name, out var measure))
            {
                measure = new MeasureSDK <long>(name);

                this.longMeasures.Add(name, measure);
            }

            return(measure);
        }
Exemplo n.º 2
0
        public override Measure <double> CreateDoubleMeasure(string name, bool absolute = true)
        {
            if (!this.doubleMeasures.TryGetValue(name, out var measure))
            {
                measure = new MeasureSDK <double>(name);

                this.doubleMeasures.Add(name, measure);
            }

            return(measure);
        }