/// <summary> /// Registers a coordinator for a nested collection contained in elements of this collection. /// </summary> internal void AddNestedCoordinator(CoordinatorScratchpad nested) { Debug.Assert(nested.Depth == this.Depth + 1, "can only nest depth + 1"); nested._parent = this; _nestedCoordinatorScratchpads.Add(nested); }
/// <summary> /// Registers a coordinator for a nested collection contained in elements of this collection. /// </summary> internal void AddNestedCoordinator(CoordinatorScratchpad nested) { Debug.Assert(nested.Depth == Depth + 1, "can only nest depth + 1"); nested._parent = this; _nestedCoordinatorScratchpads.Add(nested); }