ExponentialDistributionParameter.SetBinding<T> Method (IEnumerable<T>, String)

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Binds parameters to data.

Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public void SetBinding<T>(
	IEnumerable<T> binding,
	string rateField
)

Type Parameters

T

Parameters

binding
Type: System.Collections.Generic.IEnumerable<T>
A sequence of objects, one for each data element.
rateField
Type: System.String
The name of the property of each input object that contains the rate for the distribution.

ExceptionCondition
InvalidModelDataException

A property or field cannot be found.

Show: