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