[]
        
(Showing Draft Content)

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

Enum Method

Enum<T>()

Creates a coder for enumeration values.

Declaration
public static Coders.Coder<T> Enum<T>() where T : Enum
Returns
Type Description
Coders.Coder<T>

A Coders.Coder<T> object for the specified enumeration type.

Type Parameters
Name Description
T

The enumeration type.

Enum<T>(T)

Creates a coder for enumeration values with a default value.

Declaration
public static Coders.Coder<T> Enum<T>(T defValue) where T : struct, Enum
Parameters
Type Name Description
T defValue

The default enumeration value.

Returns
Type Description
Coders.Coder<T>

A coder for the specified enumeration type.

Type Parameters
Name Description
T

The enumeration type.