예제 #1
0
파일: Tracker.cs 프로젝트: kapiya/Warewolf
        public static void TrackEvent(TrackerEventGroup eventGroup, string customText, string eventValue)
        {
#if !DEBUG
            if (AppUsageStats.CollectUsageStats)
            {
                Perform(() => TBApp.EventTrackTxt(eventGroup.ToString(), customText, eventValue, null));
            }
#endif
        }
예제 #2
0
        /// <summary>
        /// Track events being used from within your application
        /// </summary>
        /// <param name="eventGroup">The text by which to group your event. If the length of this string and the 'eventName' parameter is greater than 40 it will be truncated. Also ';' (semicolons) and '|' (pipeline) are not to be used inside this parameter.</param>
        /// <param name="eventName">The text used to describe the feature. If the length of this string and the 'eventGroup' parameter is greater than 40 it will be truncated. Also ';' (semicolons) and '|' (pipeline) are not to be used inside this parameter.</param>
        /// <param name="eventValue">An optional value which is related to your event and you would like to store.</param>
        public static void TrackEvent(TrackerEventGroup eventGroup, TrackerEventName eventName, string eventValue = null)
        {
#if !DEBUG
            TrackEvent(eventGroup, eventName.ToString(), eventValue);
#endif
        }
예제 #3
0
        /// <summary>
        /// Track events being used from within your application
        /// </summary>
        /// <param name="eventGroup">The text by which to group your event. If the length of this string and the 'eventName' parameter is greater than 40 it will be truncated. Also ';' (semicolons) and '|' (pipeline) are not to be used inside this parameter.</param>
        /// <param name="customText">The text used to describe the feature. If the length of this string and the 'eventGroup' parameter is greater than 40 it will be truncated. Also ';' (semicolons) and '|' (pipeline) are not to be used inside this parameter.</param>
        /// <param name="eventValue">An optional value which is related to your event and you would like to store.</param>
        public static void TrackEvent(TrackerEventGroup eventGroup, string customText, string eventValue = "")
        {
#if !DEBUG
            Perform(() => TBApp.EventTrackTxt(eventGroup.ToString(), customText, eventValue, null));
#endif
        }
예제 #4
0
        /// <summary>
        /// Track events being used from within your application
        /// </summary>
        /// <param name="eventGroup">The text by which to group your event. If the length of this string and the 'eventName' parameter is greater than 40 it will be truncated. Also ';' (semicolons) and '|' (pipeline) are not to be used inside this parameter.</param>
        /// <param name="eventName">The text used to describe the feature. If the length of this string and the 'eventGroup' parameter is greater than 40 it will be truncated. Also ';' (semicolons) and '|' (pipeline) are not to be used inside this parameter.</param>
        /// <param name="eventValue">An optional value which is related to your event and you would like to store.</param>
        public static void TrackEvent(TrackerEventGroup eventGroup, TrackerEventName eventName, string eventValue = null)
        {
#if ! DEBUG
            TrackEvent(eventGroup, eventName.ToString(), eventValue);
#endif
        }
예제 #5
0
        /// <summary>
        /// Track events being used from within your application
        /// </summary>
        /// <param name="eventGroup">The text by which to group your event. If the length of this string and the 'eventName' parameter is greater than 40 it will be truncated. Also ';' (semicolons) and '|' (pipeline) are not to be used inside this parameter.</param>
        /// <param name="customText">The text used to describe the feature. If the length of this string and the 'eventGroup' parameter is greater than 40 it will be truncated. Also ';' (semicolons) and '|' (pipeline) are not to be used inside this parameter.</param>
        /// <param name="eventValue">An optional value which is related to your event and you would like to store.</param>
        public static void TrackEvent(TrackerEventGroup eventGroup, string customText, string eventValue = "")
        {
#if ! DEBUG
            Perform(() => TBApp.EventTrackTxt(eventGroup.ToString(), customText, eventValue, null));
#endif
        }
예제 #6
0
파일: Tracker.cs 프로젝트: kapiya/Warewolf
 public static void TrackEvent(TrackerEventGroup eventGroup, string customText) => TrackEvent(eventGroup, customText, "");
예제 #7
0
파일: Tracker.cs 프로젝트: kapiya/Warewolf
 public static void TrackEvent(TrackerEventGroup eventGroup, TrackerEventName eventName) => TrackEvent(eventGroup, eventName, null);
예제 #8
0
파일: Tracker.cs 프로젝트: kapiya/Warewolf
        public static void OverriddenTrackEvent(TrackerEventGroup eventGroup, TrackerEventName executed, string eventValue)
        {
#if !DEBUG
            Perform(() => TBApp.EventTrackTxt(eventGroup.ToString(), executed.ToString(), eventValue, null));
#endif
        }