예제 #1
0
 public void RegisterDependency(TaskDependency dep)
 {
     if (dep.CleanAfterBuild) {
         MaybeToBeCleaned.Add(dep.Task);
     } else {
         NotToBeCleaned.Add(dep.Task);
     }
 }
예제 #2
0
 private void DescribeIfNotDescribed(TaskDependency dep, IBounceCommand command)
 {
     OnceOnlyDescriber.EnsureInvokedAtLeastOnce(dep.Task, command);
 }
예제 #3
0
 private void CleanIfNotAlreadyCleaned(TaskDependency dep, IBounceCommand command)
 {
     OnceOnlyCleaner.EnsureInvokedAtLeastOnce(dep.Task, command);
 }
예제 #4
0
 private void BuildIfNotAlreadyBuilt(TaskDependency dep, IBounceCommand command)
 {
     OnceOnlyBuilder.EnsureInvokedAtLeastOnce(dep.Task, command);
 }