[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rdl.Persistence.Json.JsonConverterBuilder.BuildConverter

BuildConverter Method

BuildConverter<TConverterItem, TItem>(JsonObjectCoderBuilder<TItem>)

Builds a JSON converter for the specified item type using the provided builder.

Declaration
public static JsonConverter<TConverterItem> BuildConverter<TConverterItem, TItem>(this JsonObjectCoderBuilder<TItem> builder) where TItem : TConverterItem, new()
Parameters
Type Name Description
JsonObjectCoderBuilder<TItem> builder

The builder used to configure the JSON object coder.

Returns
Type Description
JsonConverter<TConverterItem>

A new instance of JsonConverter<T>.

Type Parameters
Name Description
TConverterItem

The base type of the items to be converted.

TItem

The specific type of the items to be converted, which must derive from TConverterItem.