[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rdl.Persistence.Json.JsonObjectCoderBuilder-1

JsonObjectCoderBuilder<TObject> Class

Represents the builder for the JSON object coder.

Inheritance
JsonObjectCoderBuilder<TObject>
Namespace: GrapeCity.ActiveReports.Core.Rdl.Persistence.Json
Assembly: MESCIUS.ActiveReports.Core.Rdl.dll
Syntax
public sealed class JsonObjectCoderBuilder<TObject> where TObject : new()
Type Parameters
Name Description
TObject

Constructors

Name Description
JsonObjectCoderBuilder()

Methods

Name Description
End()

Gets a coder for the type.

Prop<TProperty>(Expression<Func<TObject, TProperty>>, JsonCoder<TProperty>, Func<TProperty, bool>)

Adds a property to the JSON object coder with the specified getter and coder. The property name is derived from the expression.

Prop<TProperty>(string, JsonCoder<TProperty>, Func<TObject, TProperty>, Action<TObject, TProperty>, Func<TProperty, bool>)

Adds a property to the JSON object coder with the specified name, coder, getter function, and setter function.

Prop<TProperty>(string, Expression<Func<TObject, TProperty>>, JsonCoder<TProperty>, Func<TProperty, bool>)

Adds a property to the JSON object coder with the specified name, getter, and coder.

Sub<TProperty>(Expression<Func<TObject, TProperty>>, Action<JsonObjectCoderBuilder<TProperty>>, Func<TProperty, bool>)

Adds a child bject properties to the JSON object coder with the specified getter, and coder.

Extension Methods