Method WriteNameArrayPair
| Improve this Doc View SourceWriteNameArrayPair<T>(String, IEnumerable<T>, Action<JsonWriter, T>)
Writes a pair of name and array, separated by ':'.
Declaration
public JsonWriter WriteNameArrayPair<T>(string name, IEnumerable<T> array, Action<JsonWriter, T> writeItemAction)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The property name. |
System.Collections.Generic.IEnumerable<T> | array | The array. |
System.Action<JsonWriter, T> | writeItemAction | Delegate to write array item. |
Returns
Type | Description |
---|---|
JsonWriter | This JsonWriter for fluent coding. |
Type Parameters
Name | Description |
---|---|
T | Type of the array |