473,466 Members | 1,370 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1143
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: baylor | last post by:
In C#, an interface cannot mark any method as static. i'm told the ILASM supports it but i've never tested that Two questions. First, why? OK, i've heard the reason about interfaces being...
30
by: Frank Rizzo | last post by:
We are having one of those religious debates at work: Interfaces vs Classes. My take is that Classes give you more flexibility. You can enforce a contract on the descendant classes by marking...
8
by: John | last post by:
What is the purpose / benefit of using an interface statement? It doesn't seem like anything more than a different way to make a class... (except you can't define any procedures in an interface...
9
by: Sean Kirkpatrick | last post by:
To my eye, there doesn't seem to be a whole lot of difference between the two of them from a functional point of view. Can someone give me a good explanation of why one vs the other? Sean
18
by: _dee | last post by:
Question about best use of interfaces: Say there's a 'Master' class that needs to implement a few interfaces: class Master : I1, I2, I3 { } The actual code already exists in smaller...
22
by: RSH | last post by:
Hi, I have been reading on interfaces working on samples I've run across on the web. For the life of me I cannot seem to grasp them. It appears to me that interfaces are simply blueprints to...
18
by: Tony | last post by:
class Interface { public: virtual void DoItNow()=0; }; class A: public Interface { public: void DoItNow(); // satisfies interface explicitly
5
by: =?Utf-8?B?UmljaA==?= | last post by:
Greetings, I am actually a VB.Net guy, but I have worked somewhat with C++ and C#. I just want to ask about the relationship between Abstract Classes and Interfaces. My first question is if...
10
by: hyperboreean | last post by:
Hi, Probably it has been asked before, but I'll still ask. Why doesn't python provide interfaces trough its standard library? Or it was ever proposed to be included in the language? Zope's...
23
by: A.Gallus | last post by:
If I declare a function pure virtual: class A { virtual void myfunc() = 0; } and I derive a class from A: class B : public A
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.