public void Dispose() { this.Disposing = true; ChildrenService.ids = this.dictionary.Keys.ToList(); this.childrenService.Add(this.dictionary.Values); this.childrenService = default; this.dictionary.Clear(); this.dictionary = default; this.Disposed = true; }
public BulkAdder(ChildrenService childrenService) { this.childrenService = childrenService; }