Exemplo n.º 1
0
        public AgentHost(Agent agent, Action<AgentHostConfigurator> closure)
            : base(agent)
        {
            this.Agent = agent;

            AgentHostConfiguration configuration = new AgentHostConfiguration();
            AgentHostConfigurator configurator = new AgentHostConfigurator(configuration);

            closure.Invoke(configurator);

            this.Configuration = configuration;
        }
Exemplo n.º 2
0
        public AgentHost(Agent agent, Action<AgentHostConfigurator> closure)
            : base(agent)
        {
            this.Agent = agent;

            AgentHostConfiguration configuration = new AgentHostConfiguration();
            AgentHostConfigurator configurator = new AgentHostConfigurator(configuration);

            closure.Invoke(configurator);

            this.Configuration = configuration;
        }
Exemplo n.º 3
0
 public AgentHost(Agent agent, AgentHostConfiguration configuration)
     : base(agent)
 {
     this.Configuration = configuration;
     this.Agent = agent;
 }
Exemplo n.º 4
0
 public AgentHostConfigurator(AgentHostConfiguration configuration)
 {
     this.configuration = configuration;
 }
Exemplo n.º 5
0
 public AgentHostConfigurator(AgentHostConfiguration configuration)
 {
     this.configuration = configuration;
 }
Exemplo n.º 6
0
 public AgentHost(Agent agent, AgentHostConfiguration configuration)
     : base(agent)
 {
     this.Configuration = configuration;
     this.Agent = agent;
 }