>---- Original Message ---- >From: [EMAIL PROTECTED] > > [snip] > >OK - I've whipped up a couple of custom functions using the script >task to inspect the contents of a fileset. Heres the script : > > [snip] > > [Function("to-string")] > public string Contains( string fsetID ) { > > [snip] > >Ian > >btw - I quite like the idea of prototyping functions/tasks in script >tags before considering them for inclusion in NAnt. Maybe we should >add a user-submitted scripts section on the wiki.
An excellent idea :-) One comment, at the risk of being picky... in your to-string function, it would be nice if it accepted a second string parameter to use as the separator between entries, so the user can specify whether they want spaces, semicolons, commas, etc. -T ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users