-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAgentRespondedEventArgs.cs
More file actions
34 lines (31 loc) · 889 Bytes
/
AgentRespondedEventArgs.cs
File metadata and controls
34 lines (31 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SQLMultiAgent
{
/// <summary>
/// Event arguments for when an agent has responded.
/// </summary>
public class AgentRespondedEventArgs : EventArgs
{
/// <summary>
/// The response from the agent.
/// </summary>
public string Response { get; private set; }
/// <summary>
/// The agent that responded.
/// </summary>
public string AgentName { get; private set; }
/// <summary>
/// Constructor.
/// </summary>
/// <param name="response">The response from the agent.</param>
public AgentRespondedEventArgs(string agentName, string response)
{
AgentName = agentName;
Response = response;
}
}
}