// 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; using System.Linq.Expressions; namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Provides for a Lambda expression. /// public interface IModelExpressionProvider { /// /// Returns a instance describing the given . /// /// The type of the 's . /// The type of the result. /// The containing the /// against which is evaluated. /// An expression to be evaluated against the current model. /// A new instance describing the given . ModelExpression CreateModelExpression( ViewDataDictionary viewData, Expression> expression); } }