Exemplo n.º 1
0
        /// <summary>
        /// Add to counter value synchronously.
        ///
        /// This is only to be used within the Glean SDK.
        /// </summary>
        /// <param name="amount">this is the amount to increment the counter by, defaulting to 1
        /// if called without parameters.</param>
        internal void AddSync(Int32 amount)
        {
            if (disabled)
            {
                return;
            }

            LibGleanFFI.glean_counter_add(handle, amount);
        }