예제 #1
0
        /// <summary>
        /// Tests whether an experiment is active, for testing purposes only.
        /// </summary>
        /// <param name="experimentId">The id of the experiment to look for.</param>
        /// <returns>true if the experiment is active and reported in pings, otherwise false</returns>
        public bool TestIsExperimentActive(string experimentId)
        {
            Dispatchers.AssertInTestingMode();

            return(LibGleanFFI.glean_experiment_test_is_active(experimentId) != 0);
        }