A optimizer registry.
The optimizer registry can be used to create an optimizer object from a given name. It will scan the loaded assemblies for subclasses of Optimization.Optimizer and associates their names with their types. You can then use Registry.Create to create an instance of an optimizer.
Namespace: Optimization
Assembly: Optimization (in Optimization.dll)
See Also: Inherited members from object.
⊟ Public Constructors
Registry ()Create new registry. ⊟ Public Properties
[read-only] staticOptimizers List<Type> . Get list of detected optimizers. ⊟ Public Methods
⊟ Registry Constructor
Create new registry.
public Registry ()⊟ Remarks
Create new registry.⊟ Requirements
Namespace: Optimization
Assembly: Optimization (in Optimization.dll)
⊟ Create Method
Create new optimizer from an optimizer name.
⊟ Parameters
- name
- Optimizer name.
⊟ Returns
New optimizer object, or null if no optimizer with the given name could be found.⊟ Remarks
Create a new optimizer from a given optimizer name.⊟ Requirements
Namespace: Optimization
Assembly: Optimization (in Optimization.dll)
⊟ Create Method
Create optimizer instance from type.
⊟ Parameters
- type
- The optimizer type.
⊟ Returns
A new optimizer.⊟ Remarks
Create a new optimizer instance from type.⊟ Requirements
Namespace: Optimization
Assembly: Optimization (in Optimization.dll)
⊟ Optimizers Property
Get list of detected optimizers.
public static List<Type> Optimizers { get; }⊟ Value
List of optimizer types.⊟ Remarks
Get a list of optimizers found in all the loaded assemblies by the registry.⊟ Requirements
Namespace: Optimization
Assembly: Optimization (in Optimization.dll)