Click here to Skip to main content
15,895,011 members
Home / Discussions / C#
   

C#

 
GeneralRe: handle javaScript errors ? Pin
anujarya_20013-Jun-08 18:20
anujarya_20013-Jun-08 18:20 
GeneralRe: handle javaScript errors ? Pin
anujarya_20013-Jun-08 18:32
anujarya_20013-Jun-08 18:32 
GeneralRe: handle javaScript errors ? Pin
Shree3-Jun-08 19:50
Shree3-Jun-08 19:50 
QuestionWeb Service, I am missing something Pin
zaboboa3-Jun-08 6:59
zaboboa3-Jun-08 6:59 
AnswerRe: Web Service, I am missing something Pin
zaboboa3-Jun-08 7:44
zaboboa3-Jun-08 7:44 
QuestionIs there a way to document overloaded methods Pin
Clive D. Pottinger3-Jun-08 6:40
Clive D. Pottinger3-Jun-08 6:40 
AnswerWhats wrong with that method Pin
Ennis Ray Lynch, Jr.3-Jun-08 6:50
Ennis Ray Lynch, Jr.3-Jun-08 6:50 
GeneralRe: Whats wrong with that method Pin
Clive D. Pottinger3-Jun-08 7:14
Clive D. Pottinger3-Jun-08 7:14 
Well, not only does the current method mean having the same description entered over and over, but it is also prone to errors.

I have a number of these kind of functions where foo() and foo(int x) both end up calling foo(int x, int y). If I make a change to foo(int x, int y) and alter its documentation, I have to make sure that I go back and alter the documentation for the other two - which, sometimes I miss, or do incorrectly.

I was hoping for something more along the lines of

/// <summary>
/// Great big long multiline explanation of foo()
/// </summary>
public void foo() {...}

/// <summary autodoc=foo()/>
/// <parm name="x">Put a number here</param>
public void foo(int x) {...}


/// <summary autodoc=foo()/>
/// <parm name="x">Put a number here</param>
/// <parm name="y">Put a second number here</param>
public void foo(int x, int y) {...}
...


Something that would save typing the same function description over and over. And while I'm in pie-in-the-sky-land,

/// <summary autodoc=foo()>
/// but, unlike foo(), this method does not accept negative values.
/// </summary/>
/// <parm name="x">Put a number here</param>
/// <parm name="y">Put a second number here</param>
public void goo(int x, int y) {...}
...


Clive Pottinger
Victoria, BC

GeneralRe: Whats wrong with that method Pin
Ennis Ray Lynch, Jr.3-Jun-08 7:18
Ennis Ray Lynch, Jr.3-Jun-08 7:18 
GeneralRe: Whats wrong with that method Pin
Vikram A Punathambekar3-Jun-08 7:22
Vikram A Punathambekar3-Jun-08 7:22 
GeneralRe: Whats wrong with that method Pin
Scott Dorman3-Jun-08 7:25
professionalScott Dorman3-Jun-08 7:25 
AnswerRe: Is there a way to document overloaded methods Pin
Scott Dorman3-Jun-08 7:08
professionalScott Dorman3-Jun-08 7:08 
GeneralRe: Is there a way to document overloaded methods Pin
Clive D. Pottinger3-Jun-08 7:30
Clive D. Pottinger3-Jun-08 7:30 
GeneralRe: Is there a way to document overloaded methods Pin
Scott Dorman3-Jun-08 7:35
professionalScott Dorman3-Jun-08 7:35 
QuestionSerializing dynamically-compiled inherited classes Pin
Eric Burns3-Jun-08 5:25
Eric Burns3-Jun-08 5:25 
QuestionWindows Context Menu Pin
Ian Uy3-Jun-08 4:50
Ian Uy3-Jun-08 4:50 
AnswerRe: Windows Context Menu Pin
DaveyM693-Jun-08 5:11
professionalDaveyM693-Jun-08 5:11 
GeneralRe: Windows Context Menu Pin
Ian Uy3-Jun-08 5:14
Ian Uy3-Jun-08 5:14 
AnswerRe: Windows Context Menu Pin
Giorgi Dalakishvili3-Jun-08 7:27
mentorGiorgi Dalakishvili3-Jun-08 7:27 
GeneralRe: Windows Context Menu Pin
Ian Uy3-Jun-08 15:21
Ian Uy3-Jun-08 15:21 
QuestionGenerics Exampe needed Pin
raja baireddy3-Jun-08 4:32
raja baireddy3-Jun-08 4:32 
AnswerRe: Generics Exampe needed Pin
Gareth H3-Jun-08 4:45
Gareth H3-Jun-08 4:45 
AnswerRe: Generics Exampe needed Pin
Scott Dorman3-Jun-08 4:54
professionalScott Dorman3-Jun-08 4:54 
Questionerror while updating control from Exited event of process Pin
Xmen Real 3-Jun-08 4:15
professional Xmen Real 3-Jun-08 4:15 
AnswerRe: error while updating control from Exited event of process Pin
leppie3-Jun-08 4:29
leppie3-Jun-08 4:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.