ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.Core.Rdl.Persistence.Json Namespace / JsonConverterBuilder Class / BuildConverter<TConverterItem,TItem> Method
The base type of the items to be converted.
The specific type of the items to be converted, which must derive from TConverterItem.
The builder used to configure the JSON object coder.

In This Topic
    BuildConverter<TConverterItem,TItem> Method
    In This Topic
    Builds a JSON converter for the specified item type using the provided builder.
    Syntax
    'Declaration
     
    Public Shared Function BuildConverter
        (Of TConverterItem,TItem As {New, TConverterItem})( _
       ByVal builder As JsonObjectCoderBuilder(Of TItem) _
    ) As JsonConverter(Of TConverterItem)
    public static JsonConverter<TConverterItem> BuildConverter<TConverterItem,TItem>( 
       JsonObjectCoderBuilder<TItem> builder
    )
    where TItem: new(), TConverterItem

    Parameters

    builder
    The builder used to configure the JSON object coder.

    Type Parameters

    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.

    Return Value

    A new instance of JsonConverter.
    See Also