Export (0) Print
Expand All

Model.ForEach Method

Solver Foundation 3.0

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

Creates a term for each element.

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

public static Term ForEach(
	Set range,
	Func values
)

Parameters

range
Type: Microsoft.SolverFoundation.Services.Set
A set within a domain.
values
Type: System.Func<T, TResult>
The elements.

Return Value

Type: Microsoft.SolverFoundation.Services.Term
A term for each element.

Show:
© 2014 Microsoft