Files
linux-packaging-mono/external/aspnetwebstack/src/System.Web.Mvc/HttpFileCollectionValueProviderFactory.cs

18 lines
583 B
C#
Raw Normal View History

// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
namespace System.Web.Mvc
{
public sealed class HttpFileCollectionValueProviderFactory : ValueProviderFactory
{
public override IValueProvider GetValueProvider(ControllerContext controllerContext)
{
if (controllerContext == null)
{
throw new ArgumentNullException("controllerContext");
}
return new HttpFileCollectionValueProvider(controllerContext);
}
}
}