Table of Contents

Namespace Gym.Collections

Classes

Dict

Alias to Dictionary<TKey, TValue> of string to object with ability to construct inline, as dynamic, merging and cloning: 0.2's info and metadata type, which Gym.Legacy still returns (Step.Information, ILegacyEnv.Metadata, VecEnv.Metadata).

DictInlineInitializationException

Thrown by the legacy Dict's inline-pairs constructor and AddInline(params object[]) when the arguments are not key-value pairs: an odd count, a null key, or a key that is not exactly a string. The pairs before the bad one are already in the dictionary when it is thrown.

DictMergingException

Thrown by the legacy deep merge (Merger, Merge(IDictionary, MergePrefer)) when merging one key fails; the message names the key and InnerException holds the cause. Keys merged before the failing one stay merged: the target is left half-merged.

ExpandableList

ExpandableList is used for representing a single value that should be expanded to a expandable List<T>.

ExpandableList<T>

ExpandableList is used for representing a single value that should be expanded to a expandable List<T>.

Interfaces

IExpandableList

A single value that a merge turns into a real list (the legacy deep merge's marker for "append to me").