public void UpdateActiveBuilders() { Builders.Each(b => { b.IsActive = Settings .ActiveBuilders .Contains(b.BuilderType); }); }
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; }); }