[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rdl.Persistence.Json.ReportItemBaseCoder.ReportItem

ReportItem Method

ReportItem<T>(JsonObjectCoderBuilder<T>, string)

Configures a JsonObjectCoderBuilder<TObject> to handle a specific report item type.

Declaration
public static JsonObjectCoderBuilder<T> ReportItem<T>(this JsonObjectCoderBuilder<T> coder, string typeName) where T : ReportItem, new()
Parameters
Type Name Description
JsonObjectCoderBuilder<T> coder

The current JsonObjectCoderBuilder<TObject> to configure.

string typeName

A string value indicating the name of the report item type.

Returns
Type Description
JsonObjectCoderBuilder<T>

The configured JsonObjectCoderBuilder<TObject> instance.

Type Parameters
Name Description
T

The type of the report item, which must derive from ReportItem.