[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rdl.Persistence.Json.Coder-2.-ctor

Coder Constructor

Coder(Func<T1, T2>, Func<T2, T1>)

Pair of arbitrary encoder/decoder objects.

Declaration
public Coder(Func<T1, T2> Encode, Func<T2, T1> Decode)
Parameters
Type Name Description
Func<T1, T2> Encode

A function that takes an object of type T1 and encodes it into an T2.

Func<T2, T1> Decode

A function that takes an T2 and decodes it into an object of type T1.

Remarks

This record should not be used directly in application code.It is designed for internal operations within the product libraries and may change or be removed in future versions without notice.

Coder(Coder<T1, T2>)

Declaration
protected Coder(Coder<T1, T2> original)
Parameters
Type Name Description
Coder<T1, T2> original