JsonNodeListAddRange Method

Add the elements of a collection of JsonNode to the end of the list, checking for duplication.

Definition

Namespace: MichaelBrooks.UK.Json
Assembly: JsonDOM (in JsonDOM.dll) Version: 1.0.7
C#
public void AddRange(
	IEnumerable<JsonNode> collection
)

Parameters

collection  IEnumerableJsonNode

Remarks

Exceptions

JsonNodeListDuplicateItemExceptionThrown when an item from collection already exists in the list.
InvalidOperationExceptionThrown when an item in collection has the wrong parent.

See Also