VECTO Input Manager
Loading...
Searching...
No Matches
VectoInputManager.Commands.StandardValuesFactory(IServiceProvider serviceProvider) Class Reference

Default implementation of IStandardValuesFactory that resolves the appropriate calculator from the dependency injection container. More...

Inheritance diagram for VectoInputManager.Commands.StandardValuesFactory:

Public Member Functions

BaseStandardValues Create (ComponentType componentType)
 Creates a standard values calculator for the specified component type.

Detailed Description

Default implementation of IStandardValuesFactory that resolves the appropriate calculator from the dependency injection container.

Member Function Documentation

◆ Create()

BaseStandardValues VectoInputManager.Commands.StandardValuesFactory.Create ( ComponentType componentType)
inline

Creates a standard values calculator for the specified component type.

Parameters
componentTypeThe component type to create the calculator for.
Returns
The resolved BaseStandardValues implementation.
Exceptions
InvalidOperationExceptionThrown when no calculator is registered for the specified component type.

Implements VectoInputManager.Core.IStandardValuesFactory.


The documentation for this class was generated from the following file:
  • VectoInputManager/Internals/ServiceCollectionExtensions.cs