Protected
valueProtected
ensureGets the ValueHost for the valueHostName or throws exception if not found.
Protected
ensureUtility to get the strongly typed ValueHost, or throw exceptions for not found or not the correct class.
Returns the associated InputValueHost or throws an error when the valueHostName is unknown or not an InputValueHost.
Returns the associated PropertyValueHost or throws an error when the valueHostName is unknown or not an PropertyValueHost.
Returns the associated StaticValueHost or throws an error when the valueHostName is unknown or not an StaticValueHost.
Returns the associated CalcValueHost or throws an error when the valueHostName is unknown or not an CalcValueHost.
Returns the associated ValueHost or throws an error when the valueHostName is unknown.
Returns the associated Validatable ValueHost that supports validators or throws an error when the valueHostName is unknown or does not implement IValidatorsValueHostBase. Includes InputValueHost and PropertyValueHost.
Generated using TypeDoc v0.25.12
Used by ValueHostResolver's vm property to make it easier for the user to get strongly typed ValueHosts, compared to ValueHostResolver.getValueHost().
It simplies this syntax, shown for getting a value from a InputValueHost:
The improved syntax:
A key difference is that getValueHost may return null. The ValueHostAccessor treats unknown valuehosts and those that don't typecast correctly as exceptions.