internal MessageHandlerOrderingContainer(
     IBaseMessageHandler handler,
     string matchingRoute,
     int?order)
 {
     MessageHandler = handler;
     MatchingRoute  = matchingRoute;
     Order          = order;
 }
Exemple #2
0
 internal static int?GetOrderForHandler(this MessageHandlerContainer container, IBaseMessageHandler handler)
 {
     return(container.MessageHandlerOrderingModels.FirstOrDefault(x => x.MessageHandlerType == handler.GetType())?.Order);
 }