Esempio n. 1
0
        private void OnCommandEvent(CommandEvent @event)
        {
            if ("CompleteCodeBasic".Equals(@event.CommandId))
            {
                NumberOfManualCompletions++;
                _manualCodeCompletionTrigger = @event;

                var date = @event.GetTriggerDate();
                if (!_developerCountedToday && date != _today)
                {
                    _today = date;
                    NumberOfDeveloperDaysWithManualCompletionUsage++;
                }
            }
        }