/// <summary> /// Loads Uri mappings for all controllers and their actions /// </summary> public virtual void Load() { ControllerIndexer indexer = new ControllerIndexer(); indexer.Find(); foreach (ControllerMapping controller in indexer.Controllers) { foreach (DictionaryEntry mapping in controller.Mappings) { _controllers.Add(controller.Uri.ToLower() + "/" + ((MethodInfo)mapping.Value).Name.ToString().ToLower(), controller); } } }