Share via


BindingUtilities Class

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

Provides helper methods to support data binding for Parameter and Decision objects.

Inheritance Hierarchy

System.Object
  Microsoft.SolverFoundation.Services.BindingUtilities

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class BindingUtilities
public static class BindingUtilities
[ExtensionAttribute]
public ref class BindingUtilities abstract sealed
[<AbstractClass>]
[<Sealed>]
type BindingUtilities =  class end
public final class BindingUtilities

The BindingUtilities type exposes the following members.

Methods

  Name Description
Public methodStatic member GetValuesByFirstIndex Returns the values for a decision that has two index sets.
Public methodStatic member GetValuesByIndex Returns the values for a decision with a single index sets.
Public methodStatic member SetBinding(Parameter, IEnumerable<array<Object[]>) Binds an indexed parameter to a sequence of values.
Public methodStatic member SetBinding<T>(Parameter, IEnumerable<IEnumerable<T>>) Binds an indexed parameter object to a table.
Public methodStatic member SetBinding<T>(Parameter, IEnumerable<T>) Binds an indexed parameter to a sequence of values.
Public methodStatic member SetBinding<T>(Parameter, T) Binds a parameter object to a scalar value.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SolverFoundation.Services Namespace