Пример #1
0
        public void BeforeEach()
        {
            var type = typeof (Fodder);
            var exports = new List<Export>
                          {
                          	new Export(type, type.GetMethod("Bantha"), "fodder", "bantha")
                          };

            var routingInfo = new RoutingInfo(exports, "fodder");

            _router = new CommandRouter(routingInfo);
        }
Пример #2
0
 public CommandRouter(RoutingInfo routingInfo)
 {
     _routingInfo = routingInfo;
 }