Nov 23, 2010, 11:38 AM
[CLOSED] DirectEvent or static DirectMethod?
Hi,
I cannot find the posting but somne time ago it was told here (I think Vladimir did) that we should make DirectMethods static if possible, because static DirectMethods are much faster.
How is the performance compared to a DirectEvent method? DirectEvents are also not static.
And what are the advantages of a DirectEvent compared to a DirectMethod?
Shall we use static DirectMethods instead of DirectEvents if possible?
Regards,
Martin
I cannot find the posting but somne time ago it was told here (I think Vladimir did) that we should make DirectMethods static if possible, because static DirectMethods are much faster.
How is the performance compared to a DirectEvent method? DirectEvents are also not static.
And what are the advantages of a DirectEvent compared to a DirectMethod?
Shall we use static DirectMethods instead of DirectEvents if possible?
Regards,
Martin
Last edited by Daniil; Nov 25, 2010 at 7:09 AM.
Reason: [CLOSED]