How to implement interface's method in aspx?

Y

yp.yean

Hello,

I have a ASP.NET control with interface called "INamingRule". The
interface structure as follows:

public interface INamingRule
{
string GenerateName ();
}

Now I want to let ASP.NET application developers to develop their own
naming rule by implement GenerateName() method in aspx (web
application). I have no idea how to implement this feature in my server
control. Could somebody can give me the suggestion?

Thank you for any suggestion.
 
S

Savil Francis

Implement that Interface by Public MyClass : MyInerface

And offcourse you have to define the the body of the methods declared
in the inerface
 

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

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top