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

16 lines
439 B
C#
Raw Normal View History

namespace System.Web.Mvc {
using System;
public sealed class RouteDataValueProviderFactory : ValueProviderFactory {
public override IValueProvider GetValueProvider(ControllerContext controllerContext) {
if (controllerContext == null) {
throw new ArgumentNullException("controllerContext");
}
return new RouteDataValueProvider(controllerContext);
}
}
}