Scott Hernandez wrote:
>
>>
>
>What about following the xml serialization standard and call them
>XmlAttributeAttribute and XmlElementAttribute? We could even set them as
>derived classes of the serialization ones.
>
I thought about this. Do we get any benefit from deriving from the
serializatio
[snip]
> >Then we would change Element.InitializeAttributes to get all members
> >that have a TaskElementAttribute and their return type. If the return
> >type derives from Element, follow the same rules we do for
> >BuildElementAttribute matches.
> >
> How is this different to what happens now
Scott Hernandez wrote:
>I would agree that they do not need to be unique. But task names do,
>right?
>
yep
>
>BTW. Maybe we should use a scheme like I described below to guarantee we
>don't have dupl. task names defined. Right now, the first named task
>that matches is always returned.
>
Thats t
tribute.
Does this make any sense? I could mock up an example in code if that
would help...
later
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Ian
MacLean
Sent: Friday, April 19, 2002 12:34 PM
To: Scott Hernandez
Cc: [EMAIL PROTECTED]
Subject: Re: [n
//throw exception!
> else
> ElementNames.Add(name);
>
> _name = name;
>}
>
>
>Or am I missing something about the design here?
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]] On Behalf Of Ian
>MacLean
>Sent:
ubject: Re: [nant-dev] ElementNameAttribute and BuildElementAttribute
Scott Hernandez wrote:
> I don?t know much about the development history so this may be a dumb
> question.
>
> Is there a reason that BuildElementAttribute isn?t derived from
> ElementNameAttribute.
>
Yes. t
ez
Cc: [EMAIL PROTECTED]
Subject: Re: [nant-dev] ElementNameAttribute and BuildElementAttribute
Scott Hernandez wrote:
> I don?t know much about the development history so this may be a dumb
> question.
>
> Is there a reason that BuildElementAttribute isn?t derived from
> Element
Scott Hernandez wrote:
> I don?t know much about the development history so this may be a dumb
> question.
>
> Is there a reason that BuildElementAttribute isn?t derived from
> ElementNameAttribute.
>
Yes. they are performing different tasks. ElementNameAttribute is used
to associate an xml el