예제 #1
0
        private void Disable()
        {
            _dataRequestWire = new NoOpCollectorWire();

            if (string.IsNullOrEmpty(_configuration.AgentRunId?.ToString()))
            {
                return;
            }

            EventBus <ServerConfigurationUpdatedEvent> .Publish(new ServerConfigurationUpdatedEvent(ServerConfiguration.GetDefault()));
        }