示例#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);
        }
示例#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;
        }