471,317 Members | 1,842 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,317 software developers and data experts.

Interfaces...

When im inheriting an interface(that I created) a line

TODO: add...

shows for each method that the interface has and I need to implement...

how can I change that message...

thanks...
Feb 5 '06 #1
4 1095
you can edit the visual studio templates. Visual studio comes with a
built in templates that you can use but you create you're own also.

These templates comes in .zip format.
C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\ItemTemplates\CSharp\1033\Interface. zip

extract, edit the file and compressed in again.
ragards,
rodel e. dagumampan
http://community.devpinoy.org/blogs/dehranph/

Feb 5 '06 #2
But... that would change everything...

what i want is a code "HELP" so everytime a user inherits the interface...
they have a code help

so the inherited methods would say

public void AddUser()
{
//* TODO:
* create an instace of the user
* add user to data set
*/
}

i dont know if this is possible...

Thanks... again...

<de******@gmail.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
you can edit the visual studio templates. Visual studio comes with a
built in templates that you can use but you create you're own also.

These templates comes in .zip format.
C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\ItemTemplates\CSharp\1033\Interface. zip

extract, edit the file and compressed in again.
ragards,
rodel e. dagumampan
http://community.devpinoy.org/blogs/dehranph/

Feb 5 '06 #3
VahidP <el********@hotmail.com> wrote:
But... that would change everything...

what i want is a code "HELP" so everytime a user inherits the interface...
they have a code help

so the inherited methods would say

public void AddUser()
{
//* TODO:
* create an instace of the user
* add user to data set
*/
}

i dont know if this is possible...


Not as far as I know. I would hope that the documentation for the
interface should provide the appropriate specific information.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Feb 5 '06 #4
i dont think this is possible, however, putting xml comments can play
the role plus+ it makes your code self documenting.

you dont it to be like this?

///<summary>
///create an instace of the user
///</summary>
public void AddUser() {
}

btw, maybe ur suggestion is worth looking into ;).

best regards,

rodel e. dagumamapn
filipino developer
http://community.devpinoy.org/blogs/dehranph
VahidP
Feb 5, 8:53 pm show options
Newsgroups: microsoft.public.dotnet.languages.csharp
From: "VahidP" <elbarto...@hotmail.com> - Find messages by this author
Date: Sun, 5 Feb 2006 14:53:06 +0200
Local: Sun, Feb 5 2006 8:53 pm
Subject: Re: Interfaces...
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Report Abuse

But... that would change everything...

what i want is a code "HELP" so everytime a user inherits the
interface...
they have a code help

so the inherited methods would say

Feb 6 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by baylor | last post: by
30 posts views Thread by Frank Rizzo | last post: by
8 posts views Thread by John | last post: by
9 posts views Thread by Sean Kirkpatrick | last post: by
22 posts views Thread by RSH | last post: by
18 posts views Thread by Tony | last post: by
10 posts views Thread by hyperboreean | last post: by
23 posts views Thread by A.Gallus | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.