That works. I'd rather specifiy the namespace at the class level though.
Ian
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()
> 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 attem
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
> Do you think the functions need to be defined as static ? I was thinking
> of making them public instance and passing a Project instance to the
> containing objects constructor so that functions can have access to
> various information inside the project - the same as tasks can now. It
> might be
> user to specify it. I'm allowing functions to be imported from the same
> assemblies that are currently scanned for tasks ie those in the nant bin
> dir. Then any extra libs can be added using somthing like the
> task you describe below. Maybe could
> override namespace defined with the attribu
Jarek,
What does your "custom function loading code" do?
I presume that you want to load functions from external dlls and make them
available to EE.
thats correct. It scans assemblies looking for classes marked with a
special attribute - then loads MethodInfo objects from those classes
into a
-- Original Message -
From: "Ian MacLean" <[EMAIL PROTECTED]>
To: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, December 08, 2003 9:35 AM
Subject: Re: [nant-dev] Fw: Expression evaluator changes
> Awesome, thanks !
>
Awesome, thanks !
Ian
Jaroslaw Kowalski wrote:
OK. Committed.
Jarek
- Original Message -
From: "Ian MacLean" <[EMAIL PROTECTED]>
To: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, December 08, 2003 9:23 AM
Subject: R
OK. Committed.
Jarek
- Original Message -
From: "Ian MacLean" <[EMAIL PROTECTED]>
To: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, December 08, 2003 9:23 AM
Subject: Re: [nant-dev] Fw: Expression evaluator changes
Could you just commit to the branch ? I'd like to merge these changes
with my custom function loading code.
Ian
As my previous e-mail bounced because it was too big (41 KB > 40KB limit!)
I'm resending this to the list without the patch.
Again, I encourage everyone to download and try "test2" and
10 matches
Mail list logo