mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
15 lines
399 B
C#
15 lines
399 B
C#
namespace System.Web.Mvc {
|
|
using System;
|
|
|
|
internal sealed class ControllerDescriptorCache : ReaderWriterCache<Type, ControllerDescriptor> {
|
|
|
|
public ControllerDescriptorCache() {
|
|
}
|
|
|
|
public ControllerDescriptor GetDescriptor(Type controllerType, Func<ControllerDescriptor> creator) {
|
|
return FetchOrCreateItem(controllerType, creator);
|
|
}
|
|
|
|
}
|
|
}
|