Beispiel #1
0
        public void Event(TrackingSource source, string category, string section)
        {
            if (category == null)
            {
                throw new ArgumentNullException(nameof(category));
            }
            if (section == null)
            {
                throw new ArgumentNullException(nameof(section));
            }

            if (!this.isEnabled)
            {
                return;
            }

            LogService.Log(source.ToString(), string.Format("{0} {1}", category, section));

            var parameters = GetTrackingParameters();

            parameters.Add("category", category);
            parameters.Add("section", section);

            // this.client.TrackEvent(string.Format("{0} {1}", source, category), parameters);
        }
 public void Event(TrackingSource source, string category, string section)
 {
 }