// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Mvc.ModelBinding { public interface IValueProviderFactory { /// /// Gets a with values from the current request. /// /// The . /// /// A that when completed will yield a instance or null. /// Task GetValueProviderAsync([NotNull] ValueProviderFactoryContext context); } }