/// <summary>
        /// Submits a feature usage event.
        /// </summary>
        /// <param name="client">The client instance.</param>
        /// <param name="feature">The name of the feature that was used.</param>
        public static void SubmitFeatureUsage(this ExceptionlessClient client, string feature)
        {
            if (client == null)
            {
                throw new ArgumentNullException(nameof(client));
            }

            client.CreateFeatureUsage(feature).Submit();
        }
예제 #2
0
 /// <summary>
 /// Submits a feature usage event.
 /// </summary>
 /// <param name="client">The client instance.</param>
 /// <param name="feature">The name of the feature that was used.</param>
 public static void SubmitFeatureUsage(this ExceptionlessClient client, string feature)
 {
     client.CreateFeatureUsage(feature).Submit();
 }