Exemplo n.º 1
0
 public void Register(string prefix, HttpServerDispatcher dispatcher)
 {
     prefix = prefix ?? "";
     if (!m_dispatchers.ContainsKey(prefix))
     {
         m_dispatchers[prefix] = new List <HttpServerDispatcher>();
     }
     m_dispatchers[prefix].Add(dispatcher);
 }
Exemplo n.º 2
0
 public void Register(HttpServerDispatcher dispatcher)
 {
     Register("", dispatcher);
 }