public void RegisterDependency(TaskDependency dep) { if (dep.CleanAfterBuild) { MaybeToBeCleaned.Add(dep.Task); } else { NotToBeCleaned.Add(dep.Task); } }
private void DescribeIfNotDescribed(TaskDependency dep, IBounceCommand command) { OnceOnlyDescriber.EnsureInvokedAtLeastOnce(dep.Task, command); }
private void CleanIfNotAlreadyCleaned(TaskDependency dep, IBounceCommand command) { OnceOnlyCleaner.EnsureInvokedAtLeastOnce(dep.Task, command); }
private void BuildIfNotAlreadyBuilt(TaskDependency dep, IBounceCommand command) { OnceOnlyBuilder.EnsureInvokedAtLeastOnce(dep.Task, command); }