AddProblemDetailsConverter Method
Definition
- Namespace
- Codebelt.Extensions.AspNetCore.Text.Yaml.Converters
- Assemblies
- Codebelt.Extensions.AspNetCore.Text.Yaml.dll
AddProblemDetailsConverter(ICollection<YamlConverter>)
Adds a ProblemDetails YAML converter to the collection.
public static ICollection<YamlConverter> AddProblemDetailsConverter(this ICollection<YamlConverter> converters)
Parameters
convertersICollection<YamlConverter>The collection of YamlConverter to extend.
Returns
- ICollection<YamlConverter>
A reference to
convertersso that additional calls can be chained.