Show / Hide Table of Contents

Method Create

| Improve this Doc View Source

Create(Column)

Creates default column serializer for specified column.

Declaration
public static ColumnSerializer Create(Column column)
Parameters
Type Name Description
Column column

The specified column.

Returns
Type Description
ColumnSerializer

The default column serializer for specified column.

| Improve this Doc View Source

Create<T>(Column<T>, Func<T, String>, Func<String, T>)

Creates customm column serializer for specified column.

Declaration
public static ColumnSerializer Create<T>(Column<T> column, Func<T, string> serializer, Func<string, T> deserializer)
Parameters
Type Name Description
Column<T> column

The specified column.

System.Func<T, System.String> serializer

The delegate to serialize the column.

System.Func<System.String, T> deserializer

The delegate to deserialize the column.

Returns
Type Description
ColumnSerializer

The customm column serializer for specified column.

Type Parameters
Name Description
T

The data type of the column.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest