Method Create
| Improve this Doc View SourceCreate(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. |
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. |