15 lines
441 B
C#
15 lines
441 B
C#
|
namespace System.Web.Mvc {
|
|||
|
using System;
|
|||
|
|
|||
|
public sealed class ChildActionValueProviderFactory: ValueProviderFactory {
|
|||
|
|
|||
|
public override IValueProvider GetValueProvider(ControllerContext controllerContext) {
|
|||
|
if (controllerContext == null) {
|
|||
|
throw new ArgumentNullException("controllerContext");
|
|||
|
}
|
|||
|
|
|||
|
return new ChildActionValueProvider(controllerContext);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|