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'.
 
Back
Top