Is there a way to explicitly call a function?

For example, I created a function similar to the one below and I would like
to call it occasionally in my build file:

<script language="C#" prefix="file" >
        <code><![CDATA[

                [Function("create-file")]
                public static void CreateFile(string filename) {
                        // Create a random file
                        File.Create(filename);
                }
]]></code>
</script>





-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to