Merge pull request #266 from joncham/bug-struct-pack-size
[mono.git] / mcs / class / System.Web.Mvc3 / Mvc / ControllerDescriptorCache.cs
1 namespace System.Web.Mvc {
2     using System;
3
4     internal sealed class ControllerDescriptorCache : ReaderWriterCache<Type, ControllerDescriptor> {
5
6         public ControllerDescriptorCache() {
7         }
8
9         public ControllerDescriptor GetDescriptor(Type controllerType, Func<ControllerDescriptor> creator) {
10             return FetchOrCreateItem(controllerType, creator);
11         }
12
13     }
14 }