Exemple #1
0
        public virtual void AddHandler(
            string method, 
            DispatcherHandler handler)
        {
            var key = method.ToLowerInvariant();

            EnsureHandlersHaveMethodKey(key);

            _handlers[key].Add(handler);
        }
Exemple #2
0
        public virtual void AddHandler(
            string method,
            DispatcherHandler handler)
        {
            var key = method.ToLowerInvariant();

            EnsureHandlersHaveMethodKey(key);

            _handlers[key].Add(handler);
        }