linux-packaging-mono/mcs/class/System.Web.Mvc3/Mvc/ActionMethodDispatcherCache.cs

16 lines
440 B
C#
Raw Normal View History

namespace System.Web.Mvc {
using System;
using System.Reflection;
internal sealed class ActionMethodDispatcherCache : ReaderWriterCache<MethodInfo,ActionMethodDispatcher> {
public ActionMethodDispatcherCache() {
}
public ActionMethodDispatcher GetDispatcher(MethodInfo methodInfo) {
return FetchOrCreateItem(methodInfo, () => new ActionMethodDispatcher(methodInfo));
}
}
}