Export (0) Print
Expand All

SolverRegistrationCollection Class

Solver Foundation 3.0

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

Represents the plug-in solver registration information.

System.Object
  Microsoft.SolverFoundation.Services.SolverRegistrationCollection

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

type SolverRegistrationCollection =  
    class
        interface ICollection<SolverRegistration>
        interface IEnumerable<SolverRegistration>
        interface IEnumerable
    end

The SolverRegistrationCollection type exposes the following members.

  NameDescription
Public propertyCountThe number of registration entries in the collection.
Public propertyIsReadOnlyReturns a value that indicates whether the collection is read only.
Top

  NameDescription
Public methodAddAdds a new solver registration entry to the collection.
Public methodContainsDetermines if a registration entry exists.
Public methodCopyToCopies registration entries to an Array.
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetDirectiveTypeReturn the Type of the directive associated with a registration entry.
Public methodGetEnumeratorGets an enumerator for the collection.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodICollection(SolverRegistration).ClearClears the collection.
Explicit interface implemetationPrivate methodIEnumerable.GetEnumeratorGets an enumerator for the collection.
Explicit interface implemetationPrivate methodICollection(SolverRegistration).RemoveRemoves the specified item from the collection.
Top

SolverRegistrationCollection stores information about registered third-party solvers. This information is accessed using the SolverContext.RegisteredSolvers property. A registration entry contains information such as the name of the plug-in assembly and the solver capability and interface it supports. This information is stored in the SolverRegistration class. A single plug-in solver may have multiple SolverRegistration entries, one for each capability supported by the solver. Entries are added to the collection automatically when a configuration file is associated with the application, or by calling the Add method.

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