AddSingleValueObjectConverter Method
Definition
- Namespace
- Savvyio.Extensions.Newtonsoft.Json
- Assemblies
- Savvyio.Extensions.Newtonsoft.Json.dll
AddSingleValueObjectConverter(ICollection<JsonConverter>)
Adds a SingleValueObject<T> converter to the collection.
public static ICollection<JsonConverter> AddSingleValueObjectConverter(this ICollection<JsonConverter> converters)
Parameters
convertersICollection<JsonConverter>The collection to extend.
Returns
- ICollection<JsonConverter>
A reference to
convertersso that additional calls can be chained.
Exceptions
- ArgumentNullException
converterscannot be null.