473,372 Members | 912 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,372 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 1140
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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.