Example #1
0
        public IDisposable CreateCommandEvent(string name, string description, int?value)
        {
            if (!ReportingAnalytics)
            {
                return(Disposable);
            }

            var e = new CommandEvent(name)
            {
                Description = description, Value = value
            };

            e.Track();
            return(e);
        }
Example #2
0
        public IDisposable CreateCommandEvent(string name, string description, int? value)
        {
            if (!ReportingAnalytics) return Disposable;

            var e = new CommandEvent(name) { Description = description, Value = value };
            e.Track();
            return e;
        }