示例#1
0
        public GalileoAgentDelegatingHandler(string galileoServiceToken)
        {
            if (string.IsNullOrEmpty(galileoServiceToken))
            {
                throw new ArgumentNullException(nameof(galileoServiceToken));
            }

            agentInstance = new GalileoAgent(galileoServiceToken);
            agentInstance.Start();
        }
示例#2
0
        public GalileoAgentDelegatingHandler(AgentConfiguration configuration)
        {
            if (configuration == null)
            {
                throw new ArgumentNullException(nameof(configuration));
            }

            agentInstance = new GalileoAgent(configuration);
            agentInstance.Start();
        }