CompositeBindingSource Class¶
Summary¶
A [Microsoft.AspNet.Mvc.ModelBinding.CompositeBindingSource.BindingSources](Microsoft.AspNet.Mvc.ModelBinding.CompositeBindingSource.yml) which can repesent multiple value-provider data sources.
Methods¶
-
CanAcceptDataFrom
(Microsoft.AspNet.Mvc.ModelBinding.BindingSource)¶ Arguments: - bindingSource (Microsoft.AspNet.Mvc.ModelBinding.BindingSource) –
Return type: System.Boolean
public override bool CanAcceptDataFrom(BindingSource bindingSource)
-
Create
(System.Collections.Generic.IEnumerable<Microsoft.AspNet.Mvc.ModelBinding.BindingSource>, System.String)¶ Creates a new [Microsoft.AspNet.Mvc.ModelBinding.CompositeBindingSource](Microsoft.AspNet.Mvc.ModelBinding.CompositeBindingSource.yml).
Arguments: - bindingSources (System.Collections.Generic.IEnumerable{Microsoft.AspNet.Mvc.ModelBinding.BindingSource}) – The set of [Microsoft.AspNet.Mvc.ModelBinding.BindingSource](Microsoft.AspNet.Mvc.ModelBinding.BindingSource.yml) entries. Must be value-provider sources and user input.
- displayName (System.String) – The display name for the composite source.
Return type: Microsoft.AspNet.Mvc.ModelBinding.CompositeBindingSource
Returns: A [Microsoft.AspNet.Mvc.ModelBinding.CompositeBindingSource](Microsoft.AspNet.Mvc.ModelBinding.CompositeBindingSource.yml).
public static CompositeBindingSource Create(IEnumerable<BindingSource> bindingSources, string displayName)
-
Properties¶
-
BindingSources
()¶ Gets the set of [Microsoft.AspNet.Mvc.ModelBinding.BindingSource](Microsoft.AspNet.Mvc.ModelBinding.BindingSource.yml) entries.
Return type: System.Collections.Generic.IEnumerable{Microsoft.AspNet.Mvc.ModelBinding.BindingSource} public IEnumerable<BindingSource> BindingSources { get; }
-