DecisionBinding Class

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

Notifies the solver context about changes in the data for the decision.

Inheritance Hierarchy

System.Object
  Microsoft.SolverFoundation.Services.DecisionBinding

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

Syntax

'Declaration
Public NotInheritable Class DecisionBinding _
    Implements INotifyPropertyChanged
public sealed class DecisionBinding : INotifyPropertyChanged
public ref class DecisionBinding sealed : INotifyPropertyChanged
[<Sealed>]
type DecisionBinding =  
    class
        interface INotifyPropertyChanged
    end
public final class DecisionBinding implements INotifyPropertyChanged

The DecisionBinding type exposes the following members.

Properties

  Name Description
Public property Decision Gets the decision that is wrapped by the DecisionBinding object.
Public property Int32FeasibleValues Gets the feasible integer values of this decision.
Public property StringFeasibleValues Gets the feasible string values of this decision.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Fix(Int32) Fixes the decision to a specific value for purposes of probing.
Public method Fix(String) Fixes the decision to a specific value for purposes of probing.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Unfix Undo the result of a previous call to the Fix or Fix method.

Top

Events

  Name Description
Public event PropertyChanged Occurs when the feasible values of the decision changes.
Public event ValueFeasibilityKnown Occurs when a specific value of the decision is determined to be definitely feasible or infeasible.

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