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

Refit.GeneratedParameterAttributeProvider

Provides the attributes declared on a parameter, keyed by attribute type. Use GeneratedSingleTypeParameterAttributeProvider instead when every attribute has the same type.

A shared provider for parameters that declare no attributes, avoiding a per-parameter empty dictionary.

public GeneratedParameterAttributeProvider(Dictionary<Type, object[]> attributes)

Provides the attributes declared on a parameter, keyed by attribute type. Use GeneratedSingleTypeParameterAttributeProvider instead when every attribute has the same type.

public object[] GetCustomAttributes(bool inherit)

public object[] GetCustomAttributes(Type attributeType, bool inherit)

public bool IsDefined(Type attributeType, bool inherit)