> In that case I should check when I'm scanning for methods that they are
> all lowercase - or we can just map a lowercase name to the correct
> methodinfo object. So even if you define  the method in code as
>
> void SomeFunc()
>
> it will be mapped to the nant custom function somefunc() and attempting
> to call SomeFunc() will fail. This is easy enough to do but maybe
> enforcing lowercase names for the methods would be less confising.

what about

[NAntCustomFunction(name="somefunc" namespace="test" desctiption="test
function"]
int SomeFunc(int arg)
{
    return arg*2;
}

where name and namespace are required attributes?

Martin



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to