Merge pull request #249 from pcc/xgetinputfocus
[mono.git] / mcs / class / System.Web.Mvc3 / Mvc / ActionMethodDispatcherCache.cs
1 namespace System.Web.Mvc {
2     using System;
3     using System.Reflection;
4
5     internal sealed class ActionMethodDispatcherCache : ReaderWriterCache<MethodInfo,ActionMethodDispatcher> {
6
7         public ActionMethodDispatcherCache() {
8         }
9
10         public ActionMethodDispatcher GetDispatcher(MethodInfo methodInfo) {
11             return FetchOrCreateItem(methodInfo, () => new ActionMethodDispatcher(methodInfo));
12         }
13
14     }
15 }