DefaultPropertyBindingPredicateProvider<TModel> Class¶
Summary¶
Default implementation for [Microsoft.AspNet.Mvc.ModelBinding.IPropertyBindingPredicateProvider](). Provides a expression based way to provide include properties.
Inheritance Hierarchy¶
System.Object
Microsoft.AspNet.Mvc.DefaultPropertyBindingPredicateProvider<TModel>
Syntax¶
public class DefaultPropertyBindingPredicateProvider<TModel> : IPropertyBindingPredicateProvider where TModel : class
Properties¶
-
Prefix
()¶ The prefix which is used while generating the property filter.
Return type: System.String public virtual string Prefix { get; }
-
PropertyFilter
()¶ Return type: System.Func{Microsoft.AspNet.Mvc.ModelBinding.ModelBindingContext,System.String,System.Boolean} public virtual Func<ModelBindingContext, string, bool> PropertyFilter { get; }
-
PropertyIncludeExpressions
()¶ Expressions which can be used to generate property filter which can filter model properties.
Return type: System.Collections.Generic.IEnumerable{System.Linq.Expressions.Expression{System.Func{{TModel},System.Object}}} public virtual IEnumerable<Expression<Func<TModel, object>>> PropertyIncludeExpressions { get; }
-