Re. deriving from eventArgs( )

  • Thread starter Thread starter Sujith Jagini
  • Start date Start date
S

Sujith Jagini

Hi,

When we create customEventArgs, we also derive the classes from
eventArgs( ) and I dont understand the advantage of this inheritance.
This is neither an interface nor applied as attribute.

I have seen similar stuff in remoting also where we derive from
marshallByRef object in SAO to create transparent proxy. I don't know
how it creates transparent just by inheriting from base class.

If you know the reason, please let me know.

Thank You

Sujith
 
* (e-mail address removed) (Sujith Jagini) scripsit:
When we create customEventArgs, we also derive the classes from
eventArgs( ) and I dont understand the advantage of this inheritance.
This is neither an interface nor applied as attribute.

Mhm... In .NET, we use Pascal Case, 'EventArgs' instead of the crippled
'eventArgs'.
 

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

Back
Top