Click or drag to resize
MessagePackObject Constructor (IListMessagePackObject, Boolean)

Namespace: MsgPack
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public MessagePackObject(
	IList<MessagePackObject> value,
	bool isImmutable
)

Parameters

value
Type: System.Collections.GenericIListMessagePackObject
The collection to be copied or used.
isImmutable
Type: SystemBoolean
true if the value is immutable collection; othereise, false.
Remarks
When the collection is truely immutable or dedicated, you can specify true to the isImmutable. When isImmutable is true, this constructor does not copy its contents, or copies its contents otherwise.
Note Note
Note that both of IReadOnlyList and ReadOnlyCollectionT is NOT immutable because the modification to the underlying collection will be reflected to the read-only collection.
See Also