コード例 #1
0
ファイル: Routing.cs プロジェクト: bnwasteland/thorn
        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
ファイル: CommandRouter.cs プロジェクト: bnwasteland/thorn
 public CommandRouter(RoutingInfo routingInfo)
 {
     _routingInfo = routingInfo;
 }