コード例 #1
0
        static FibonacciService()
        {
            Solver = FibonacciSolverFactory.GetSolver();

            var rootApiUrl = ConfigurationManager.AppSettings["rootApiAppUrl"];

            rootApiUrl = !string.IsNullOrEmpty(rootApiUrl) ? rootApiUrl : "http://localhost:8888";

            RequestSender = new RequestSender(rootApiUrl);
        }
コード例 #2
0
        public RootController()
        {
            _solver = FibonacciSolverFactory.GetSolver();

            _messageBus = MessageBusFactory.GetMassTransitMessageBus();
        }