Table of Contents

Namespace Gym.Merging

Classes

Merger

The legacy deep merge behind Dict's Merge: nested dictionaries are merged key by key, lists are appended to, values only the right side has are copied in (lists and dictionaries cloned), and two plain values on the same key are settled by MergePrefer. The left side is changed in place.

Interfaces

IMergable

A string-keyed container the legacy deep merge (Merger) can read and write key by key: the legacy Dict is the one implementation. IsExpandable decides whether a merge may add keys or only overwrite existing ones.

IMergable<T>

An IMergable with a typed merge entry point, which the legacy Dict implements for dictionaries, lists and other mergeables.

Enums

MergePrefer

Which value wins when the legacy deep merge (Merger) meets the same key on both sides and cannot merge the two values (neither is a dictionary or a growable list).