Function to execute validation within the container.
Type of the resulting value to validate.
Type of the raw value to validate. Defaults to TValue.
Function to execute validation within the container.