<PackageReference Include="Refit" Version="17.0.0" />

Refit.DefaultUrlParameterFormatter

Default Url parameter formater.

public void AddFormat<TContainer, TParameter>(string format)

Add format for specified parameter type contained within container class of specified type. Might be suppressed by a QueryAttribute format.

public void AddFormat<TParameter>(string format)

Add format for specified parameter type. Might be suppressed by a QueryAttribute format or a container specific format.

public virtual string Format(object value, IParameterAttributeProvider attributeProvider, Type type)

Formats the specified parameter value.