public void Validate(IArgsMapper mapper, Option option) { if (!_valueConverterFactory.IsSupportedBaseType(option.Type)) { throw new UnsupportedOptionPropertyTypeException(option.Type); } }
public void Validate(IArgsCommandSettings commandSettings, Option commandOption) { if (!_valueConverterFactory.IsSupportedBaseType(commandOption.Type)) { throw new UnsupportedCommandOptionPropertyTypeException(commandOption.Type); } }