// 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.
namespace Microsoft.AspNetCore.Mvc.ModelBinding
{
///
/// A context object for .
///
public abstract class ModelBinderProviderContext
{
///
/// Creates an for the given .
///
/// The for the model.
/// An .
public abstract IModelBinder CreateBinder(ModelMetadata metadata);
///
/// Gets the . May be null.
///
public abstract BindingInfo BindingInfo { get; }
///
/// Gets the .
///
public abstract ModelMetadata Metadata { get; }
///
/// Gets the .
///
public abstract IModelMetadataProvider MetadataProvider { get; }
}
}