// 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;
namespace Microsoft.AspNet.Mvc.ModelBinding
{
///
/// A factory for creating instances.
///
public interface IValueProviderFactory
{
///
/// Gets a with values from the current request.
///
/// The .
///
/// A that when completed will yield a instance or null.
///
Task GetValueProviderAsync(ActionContext context);
}
}