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