BindingInfo Class¶
Properties¶
-
BinderModelName
()¶ Gets or sets the binder model name.
Return type: System.String public string BinderModelName { get; set; }
-
BinderType
()¶ Gets or sets the [System.Type]() of the model binder used to bind the model.
Return type: System.Type public Type BinderType { get; set; }
-
BindingSource
()¶ Gets or sets the [Microsoft.AspNet.Mvc.ModelBinding.BindingSource](Microsoft.AspNet.Mvc.ModelBinding.BindingSource.yml).
Return type: Microsoft.AspNet.Mvc.ModelBinding.BindingSource public BindingSource BindingSource { get; set; }
-
PropertyBindingPredicateProvider
()¶ Gets or sets the [Microsoft.AspNet.Mvc.ModelBinding.IPropertyBindingPredicateProvider](Microsoft.AspNet.Mvc.ModelBinding.IPropertyBindingPredicateProvider.yml).
Return type: Microsoft.AspNet.Mvc.ModelBinding.IPropertyBindingPredicateProvider public IPropertyBindingPredicateProvider PropertyBindingPredicateProvider { get; set; }
-
Methods¶
-
GetBindingInfo
(System.Collections.Generic.IEnumerable<System.Object>)¶ Constructs a new instance of [Microsoft.AspNet.Mvc.ModelBinding.BindingInfo](Microsoft.AspNet.Mvc.ModelBinding.BindingInfo.yml) from the given <paramref name=”attributes” />.
Arguments: - attributes (System.Collections.Generic.IEnumerable{System.Object}) – A collection of attributes which are used to construct [Microsoft.AspNet.Mvc.ModelBinding.BindingInfo](Microsoft.AspNet.Mvc.ModelBinding.BindingInfo.yml)
Return type: Microsoft.AspNet.Mvc.ModelBinding.BindingInfo
Returns: A new instance of [Microsoft.AspNet.Mvc.ModelBinding.BindingInfo](Microsoft.AspNet.Mvc.ModelBinding.BindingInfo.yml).
public static BindingInfo GetBindingInfo(IEnumerable<object> attributes)
-