[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rdl.Seralization.Common.Coders

Coders Class

Represents a collection of coder functions for encoding and decoding common types.

Inheritance
Coders
Namespace: GrapeCity.ActiveReports.Core.Rdl.Seralization.Common
Assembly: MESCIUS.ActiveReports.Core.Rdl.dll
Syntax
public static class Coders

Fields

Name Description
Int

Gets a coder for integer values.

OptionalString

Gets a coder for strings with a null value as the default.

StringDefEmpty

Gets a coder for strings with an empty string as the default value.

Properties

Name Description
IntDefZero

Gets a coder for integer values with 0 as the default value.

Methods

Name Description
Bool()

Creates a coder for boolean values.

Bool(bool)

Creates a coder for boolean values with a default value.

Default<T>(Coder<T>, T)

Creates a coder with a default value.

Enum<T>()

Creates a coder for enumeration values.

Enum<T>(T)

Creates a coder for enumeration values with a default value.

SkipOnWriteIf<T>(Coder<T>, Func<T, bool>)

Creates a coder for objects with a value which shouldn't be written is satisfies the condition.

SkipOnWrite<T>(Coder<T>)

Used for legacy properties which can be read but must not be written.

String(string)

Creates a coder for strings with a default value.