private void UpdateBuilders() { var entityHelper = EntityHelper.Create(Settings); var roots = BuilderBase.GetRoots(Settings.Domain); var enums = BuilderBase.GetEnums(Settings.Domain); Builders.Each(b => { b.EntityHelper = entityHelper; b.Roots = roots; b.Enums = enums; b.Cancellation = CancellationTokenSource.Token; }); }