Writing NAnt tasks with nested types(atalasoft.com)

submitted by tomdogtomdog(3230) 3 years, 9 months ago

"I imagined a task that I could give a FileSet to, a regular expression to match, and a string to replace that match with. It's a sharp tool that you can easily break things with if you're not careful, but incredibly powerful if you are careful! So we set out to make our task where we'd like to have a FileSet. In your public instance properties, make a field that is the NAnt.Core.Types.FileSet, and add some getter/setter code." [Code samples included]

add a comment |category: |Views: 13

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story