예제 #1
0
        public static void Add <T>(this RoutingEngine <T> engine, Activation <T> activation)
            where T : class
        {
            RootNode <T> match = engine.Match <RootNode <T> >().FirstOrDefault();

            if (match == null)
            {
                return;
            }

            match.Add(activation);
        }