Re: [ADVANCED-DOTNET] How to create an enumeration that exposes formats

2003-10-27 Thread Bill Bassler
It appears that the enum formatting specified below is accessible only from within its (the enum's) containing project. When the Tooltip is displayed via Intellisense external to the containing project you will see the class summary (if specified) and the enum type. Specifying a file for XML docume

Re: [ADVANCED-DOTNET] How to create an enumeration that exposes formats

2003-10-26 Thread Chris Day
It's easy just use the XML compliant and () instead! > -Original Message- > From: Jeff Varszegi [mailto:[EMAIL PROTECTED] > Sent: Saturday, 25 October 2003 12:29 AM > To: [EMAIL PROTECTED] > Subject: Re: [ADVANCED-DOTNET] How to create an enumeration > that expo

Re: [ADVANCED-DOTNET] How to create an enumeration that exposes formats

2003-10-24 Thread Stefan Holdermans
Jeff, > One thing I've found is that the IDE doesn't like it when you > use HTML tags like that don't have a closing tag. [...] Well, it's not only the IDE that doesn't like that. The C# compiler expects the documentation comments to be in XML. When you use HTML constructs like unclosed f.i. ,

Re: [ADVANCED-DOTNET] How to create an enumeration that exposes formats

2003-10-24 Thread Jeff Varszegi
One thing I've found is that the IDE doesn't like it when you use HTML tags like that don't have a closing tag. In certain situations, especially mixing sections using with sections that have no enclosing tags, the IDE seems to get confused and just quietly abort the generation of XML docume

Re: [ADVANCED-DOTNET] How to create an enumeration that exposes formats

2003-10-24 Thread Ed Stegman
It works here (v1.1). Perhaps you neglected to set the XmlDocumentFile value in the project properties before building the assembly where the enum is declared? Keep Smilin' Ed Stegman -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Behalf

Re: [ADVANCED-DOTNET] How to create an enumeration that exposes formats

2003-10-23 Thread Bill Bassler
I assumed I couldn't do what I wanted as far as available characters for identifiers. Thanks for confirming it. Regarding ... If the goal is simply to get the text of your choosing to appear in IntelliSense, wouldn't it make more sense to use the XML documentation to do this? E.g. public enum D

Re: [ADVANCED-DOTNET] How to create an enumeration that exposes formats

2003-10-20 Thread Griffiths, Ian
If the goal is simply to get the text of your choosing to appear in IntelliSense, wouldn't it make more sense to use the XML documentation to do this? E.g. public enum DateTimeFormats { /// MM/dd/ HH:mm:ss MonthDayYearTime, ... etc. } Visual Studio .NET will display the text in the e

[ADVANCED-DOTNET] How to create an enumeration that exposes formats

2003-10-20 Thread Bill Bassler
I would like to create an enumeration that exposes a set of values that allow a client to select from a list a formatting options. For example: DateRange scheduleEventsDateRange = new DateRange(args[0], args[1], DateTimeFormats.MM/dd/ HH:mm:ss <== client to select value from enum. I thought