How to implement a big interface

R

Ronchese

Hi all.

I need implement a interface in my new dll project. The problem is the
interface class have so much methods, properties and events, and seems that
i need implement that manually.

There are some way to get that inteface automatically in C#, like VB.NET do?

Thx.

[]s
Cesar
 
T

Tom Porterfield

Hi all.

I need implement a interface in my new dll project. The problem is the
interface class have so much methods, properties and events, and seems that
i need implement that manually.

There are some way to get that inteface automatically in C#, like VB.NET do?

VS.NET with C# does this for you. Create your interface and your class.
When you add the implementation to your class for your interface, press tab
after typing the interface name and VS.NET will create a stub for all of
the interface members.
 
R

Ronchese

Cool! Tab is the trick. I was pressing the Enter key like crazy. :pP

Thx all.



"Tom Porterfield" <[email protected]> escreveu na mensagem
Hi all.

I need implement a interface in my new dll project. The problem is the
interface class have so much methods, properties and events, and seems that
i need implement that manually.

There are some way to get that inteface automatically in C#, like VB.NET
do?

VS.NET with C# does this for you. Create your interface and your class.
When you add the implementation to your class for your interface, press tab
after typing the interface name and VS.NET will create a stub for all of
the interface members.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top