SolverRegistrationCollection Class
[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.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
The SolverRegistrationCollection type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Count | The number of registration entries in the collection. |
![]() | IsReadOnly | Returns a value that indicates whether the collection is read only. |
| Name | Description | |
|---|---|---|
![]() | Add | Adds a new solver registration entry to the collection. |
![]() | Contains | Determines if a registration entry exists. |
![]() | CopyTo | Copies registration entries to an Array. |
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetDirectiveType | Return the Type of the directive associated with a registration entry. |
![]() | GetEnumerator | Gets an enumerator for the collection. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection(Of SolverRegistration).Clear | Clears the collection. |
![]() ![]() | IEnumerable.GetEnumerator | Gets an enumerator for the collection. |
![]() ![]() | ICollection(Of SolverRegistration).Remove | Removes the specified item from the collection. |
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.
