Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » C# » Reflection » Downloads
 
Add your own
alternative version

Parameters Flexibility When Late Binding to an Event

, 20 Jun 2011 CPOL
.NET allows binding to an event with a method that has a different signature than that of the published delegate, as long as the return type and the parameter types are derived from those in the published delegate. This article offers a mechanism for allowing this flexibility when late binding to an
EventLateBindingHelper.zip
EventLateBindingHelper
EventLateBindignHelper.Test
bin
Debug
EventLateBindignHelper.Test.dll
EventLateBindingHelper.dll
Release
obj
Debug
TempPE
Properties
EventLateBindingHelper
bin
Debug
EventLateBindingHelper.dll
Release
obj
Debug
TempPE
Properties
EventLateBindingHelper.vsmdi
Local.testsettings
TestResults
Asher_ASHER-PC 2011-05-29 14_14_41
In
ASHER-PC
Out
AgentRestart.dat
Asher_ASHER-PC 2011-05-29 14_14_41.trx
Asher_ASHER-PC 2011-05-29 14_17_01.trx
Asher_ASHER-PC 2011-05-29 14_17_52.trx
Asher_ASHER-PC 2011-05-29 14_19_26.trx
Asher_ASHER-PC 2011-05-29 14_19_35.trx
Asher_ASHER-PC 2011-05-29 14_19_47
In
ASHER-PC
Out
AgentRestart.dat
Asher_ASHER-PC 2011-05-29 14_19_47.trx
Asher_ASHER-PC 2011-05-30 10_39_04.trx
Asher_ASHER-PC 2011-05-30 10_39_54.trx
Asher_ASHER-PC 2011-05-30 11_10_36.trx
Asher_ASHER-PC 2011-05-30 11_12_47.trx
Asher_ASHER-PC 2011-05-30 12_09_20.trx
Asher_ASHER-PC 2011-05-30 12_09_39
In
ASHER-PC
Out
AgentRestart.dat
Asher_ASHER-PC 2011-05-30 12_09_39.trx
Asher_ASHER-PC 2011-05-30 13_03_56.trx
Asher_ASHER-PC 2011-05-30 13_04_13
In
ASHER-PC
Out
AgentRestart.dat
Asher_ASHER-PC 2011-05-30 13_04_13.trx
Asher_ASHER-PC 2011-05-30 13_05_54.trx
Asher_ASHER-PC 2011-05-30 14_12_54.trx
Asher_ASHER-PC 2011-05-30 14_13_12.trx
Asher_ASHER-PC 2011-05-30 14_13_42.trx
Asher_ASHER-PC 2011-05-30 14_14_37.trx
Asher_ASHER-PC 2011-05-30 14_17_42
In
ASHER-PC
Out
AgentRestart.dat
Asher_ASHER-PC 2011-05-30 14_17_42.trx
Asher_ASHER-PC 2011-05-30 14_18_21.trx
Asher_ASHER-PC 2011-05-30 14_20_13.trx
Asher_ASHER-PC 2011-05-30 14_21_53.trx
Asher_ASHER-PC 2011-05-30 14_30_08.trx
Asher_ASHER-PC 2011-05-30 14_37_36.trx
TraceAndTestImpact.testsettings

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Asher Barak
Software Developer Ziv systems, Israel
Israel Israel
Starting with Apple IIe BASICA, and working my way through Pascal, Power Builder, Visual basic (and the light office VBA) C, C++, I am now a C# .NET developer and designer (and a big fan of the .NET framework).
 
I am currently leading a major effort writing a new framework for SAP Business One extensions and overseeing the development of four products on the same (yet unfinished) framework

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141223.1 | Last Updated 20 Jun 2011
Article Copyright 2011 by Asher Barak
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid