IRouteAttribute Interface

Definition

Defines a contract for attributes that add routing information to an agent application.

public interface IRouteAttribute
type IRouteAttribute = interface
Public Interface IRouteAttribute
Derived

Remarks

Implementations of this interface are used to associate specific methods with routing logic in agent-based applications. This interface is typically used in frameworks that support attribute-based routing for extensibility.

Methods

Name Description
AddRoute(AgentApplication, MethodInfo)

Registers a route for the specified method within the given agent application.

Applies to