a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
16 lines
440 B
C#
16 lines
440 B
C#
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));
|
|
}
|
|
|
|
}
|
|
}
|