Interface IMergable<T>
An IMergable with a typed merge entry point, which the legacy Dict implements for dictionaries, lists and other mergeables.
[Obsolete("The legacy Dict's deep merge: use Gym.Envs.Info.Update (Python's dict.update: the new value wins, one level deep). Removed in 2.0 with Gym.Legacy.")]
public interface IMergable<in T> : IMergable
Type Parameters
TThe type of value the merge takes.
- Inherited Members
- Extension Methods
Remarks
Obsolete with Dict (DR-56) and removed in 2.0.
Methods
Merge(T, MergePrefer)
Performs a merge with object of T type.
void Merge(T right, MergePrefer preference)
Parameters
rightTobject to take data from
preferenceMergePrefersee the documentation on the enum values.