Class RouteAttribute
Adds an AgentApplication Routes
RouteType:
Activity, // { Type | RegEx | Selector}, Rank
Message, // { Text | RegEx | Selector}, Rank
Event, // { EventName | RegEx | Selector}, Rank
Conversation, // { EventName | Selector}, Rank
HandOff, // Selector, Rank
ReactionAdded, // Rank
ReactionRemoved // Rank
[AttributeUsage(AttributeTargets.Method, Inherited = true)]
public class RouteAttribute : Attribute
- Inheritance
-
RouteAttribute
- Inherited Members
Constructors
RouteAttribute()
public RouteAttribute()
Properties
EventName
public string EventName { get; set; }
Property Value
Rank
public ushort Rank { get; set; }
Property Value
Regex
public string Regex { get; set; }
Property Value
RouteType
public RouteType RouteType { get; set; }
Property Value
Selector
public string Selector { get; set; }
Property Value
Text
public string Text { get; set; }
Property Value
Type
public string Type { get; set; }
Property Value
Methods
AddRoute(AgentApplication, MethodInfo)
public void AddRoute(AgentApplication app, MethodInfo attributedMethod)
Parameters
app
AgentApplicationattributedMethod
MethodInfo