public override void AddRoute(MessageTypeRouting routing, IMessagingRoot root) { if (Agent == null) { throw new InvalidOperationException($"The agent has not been initialized for this endpoint"); } routing.AddStaticRoute(Agent); }
public override void AddRoute(MessageTypeRouting routing, IMessagingRoot root) { if (Agent == null) { throw new InvalidOperationException(); } routing.AddStaticRoute(Agent); }