[Mono-devel-list] Some new goodies in Mono.GetOptions

Rafael Teixeira monoman at gmail.com
Sat May 7 23:26:42 EDT 2005


Hi Knocte see answer inline:

On 5/7/05, knocte <knocte at gmail.com> wrote:
> > Commited to SVN
> >
> > 2005-05-06:2  Rafael Teixeira  <rafaelteixeirabr at hotmail.com>
> >         * Adding Samples directory with mcat Sample (changed main
> > Makefile but didn't add to the SUBDIRS)
> >         * Mono.GetOptions/Options.cs, Mono.GetOptions/OptionList
> >                 An overrideable DefaultArgumentProcessor was added to
> > base class Options that just collects them
> >                 to the string[] RemainingArguments property as before.
> > It is a virtual method, but it can also be
> >                 overriden by another method tagged with the
> > ArgumentProcessorAttribute in the derived class
> >                 to stay binary compatible with old code.
> >         * Added Mono.GetOptions/KillOptionAttribute.cs
> >                 This new attribute permit to hide (kill) an inherited
> > option when overriding the virtual base member.
> >         * Added Mono/AdditionalInfoAttribute.cs
> >                 This new attribute permit to add some extra text at
> > the end of the automatically generated help screen
> >         * Added Mono/ReportBugsToAttribute.cs
> >                 This new attribute adds a "Report bugs to <Url>"
> > message at the end of the automatically generated help screen
> 
> Hello Rafael, thanks for your work. Can this library be used with
> VS.NET2003 besides Mono? How?

Sure, it has no dependencies besides the base framework classes. Just
reference the compiled Mono.GetOptions.dll from VS.NET (that normally
copies the library to your output directory, and use.

If you don't have the setup to compile mono's mcs tree from SVN on
your Windows machine, I can send you a compiled dll, just tell me.

Note that in my unique "bad timing" style, I just added all those new
things a few days after release 1.1.7 was born, so it's VERY unlikely
that a packaged version of mono containing the updated library will be
available soon.

:)

-- 
Rafael "Monoman" Teixeira
---------------------------------------
I'm trying to become a "Rosh Gadol" before my own eyes. 
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
It hurts!



More information about the Mono-devel-list mailing list