Loading Gist 7519460
Note this depends on the following extension method, which I introduced to reduce duplication:
Loading Gist 7519477
I have an urge to write an extension method to replace AddTask which will ensure that the project has a UsingTask already. In fact, I'll go ahead and do that, so you can see the transformation.
Loading Gist 7519648
I also made AddUsingTask generic:
Loading Gist 7519677
Which allows the following simpler test:
Loading Gist 7519763
No comments:
Post a Comment