Tuples Constructor (String, IEnumerable<Domain>)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates tuples that can be used as a random parameter for stochastic programming or for table constraints. Initializes a new instance of the Tuples class.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
domains As IEnumerable(Of Domain) _
)
public Tuples(
string name,
IEnumerable<Domain> domains
)
public:
Tuples(
String^ name,
IEnumerable<Domain^>^ domains
)
new :
name:string *
domains:IEnumerable<Domain> -> Tuples
public function Tuples(
name : String,
domains : IEnumerable<Domain>
)
Parameters
- name
Type: System.String
The name of the Tuples object.
- domains
Type: System.Collections.Generic.IEnumerable<Domain>
The domains of the tuples.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.