Exemple #1
0
        void OnNext(IRoute route, IRouteProcessor processor)
        {
            if (route.IsEnd())
                return;

            route.Start = DateTime.Now.Ticks;
            var result = processor.Process(route);
            route.End = DateTime.Now.Ticks;

            Process(result);
        }