Confirms that the ValueHostConfig matches to a registered ValueHostGenerator. Throws if not found.
Adjusts the state from a previous time to conform to the Config. For example, if the Config had a rule change, some data in the state may be obsolete and can be discarded.
Creates an initialized InstanceState object
Add an ValueHostGenerator. The built-in generators are already registered.
Utility to check for a registration
Creates the instance.
Generated using TypeDoc v0.25.12
ValueHostFactory with already registered ValueHostGenerators that targets consumers for InputValueHosts, specifically the UI layer. InputValueHostFactory is preferred over the default supplied by ValidationServices.valueHostFactory which includes generators for both InputValueHost and PropertyValueHost. The two are very similar and based on the same class, ValidatorsValueHostBase. Those are meant for different scenarios: Input for the UI and Property for business logic. By design, this factory knows that when it is asked to generate a PropertyValueHost, it switches to the InputValueHost.