----- Original Message -----
From: "Giuseppe Greco" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>
Cc: "Ian MacLean" <[EMAIL PROTECTED]>; "Giuseppe Greco"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, July 02, 2004 8:58 AM
Subject: Re: [nant-dev] ILASM Task


>
> >
> > ----- Original Message -----
> > From: "Ian MacLean" <[EMAIL PROTECTED]>
> > To: "Gert Driesen" <[EMAIL PROTECTED]>
> > Cc: "Giuseppe Greco" <[EMAIL PROTECTED]>;
> > <[EMAIL PROTECTED]>
> > Sent: Friday, July 02, 2004 8:30 AM
> > Subject: Re: [nant-dev] ILASM Task
> >
> >
> >> Gert Driesen wrote:
> >>
> >> >>Giuseppe Greco wrote:
> > - The following properties should be backed by an int : Alignment,
Base,
> > Flags, Subsystem
>
> I've defined them as string properties because they
> are just command-line options... if I had defined them
> as integers, I would have had to covert them to strings
> in anyway...

Yeah, but its about strong typing, which prevent mistakes by users. But
unless the int value 0 does not have any meaning for these flags, it might
perhaps be better to leave them as string, but assign an Int32Validator
attribute to these properties.

Gert


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to