multicastdelegate Questions

6

Solved

I have gone through many articles but I am still not clear about the difference between the normal delegates that we usually create and multicast delegates. public delegate void MyMethodHandler(ob...
Scintillate asked 3/2, 2010 at 13:38

3

Solved

According to Jon Skeet, "You can only call BeginInvoke on a delegate which has a single target invocation." Why is that? What's the real reason? Note: For clarification (and because I made this m...
Pt asked 6/6, 2011 at 22:43

6

I am trying to implement the multicast delegate functionality in Swift. In Objective C, we have this excellent implementation https://github.com/robbiehanson/XMPPFramework/blob/master/Utilities/GC...
Pathoneurosis asked 16/11, 2014 at 15:28

3

Solved

I've been given some code that I am calling through multicast delegate. I would like to know how I can catch up and manage any exception raised there and that is not managed for the moment. I cann...
Tetra asked 21/4, 2011 at 6:59

3

Solved

I have a very weird issue occurring only in production environment. The exception has the message "Delegate to an instance method cannot have null 'this'". The method where the exception is ...
Consulate asked 15/9, 2015 at 18:30

3

Solved

Multicast Delegates must have a return type of void Otherwise it will throw an exception. I want to know whats the reason behind it, what if multiple methods could have a same return type as of a ...
Garderobe asked 21/9, 2012 at 12:37

3

Solved

I have a MulticastDelegate that can reference one of a number of (legacy) delegates that have the same signature. For example: public delegate void ObjectCreated(object sender, EventArgs args); pu...
Flogging asked 20/1, 2011 at 19:46

3

Solved

Does an implementation of the signals and slots mechanism for event dispatching exist for Delphi?
Gamba asked 22/7, 2011 at 9:45

2

Solved

When is it useful to have multicast delegates over singlecast delegates? I use delegates a lot, mainly coupled with C# lambdas, but I've never felt the urge to use the multicast aspect of C# deleg...
Jonahjonas asked 9/6, 2011 at 18:33

1

I have a very basic question regarding delegate types. I compared the memebers of Delegate and MulticastDelegate classes in object browser and I couldn't find any new additional member present in M...
Gearbox asked 28/1, 2011 at 21:4

4

Solved

I think the answer is NO? If there isn't, why do we have separated Delegate and MulticastDelegate classes? Maybe it's again because of "some other .NET languages"?
Stegman asked 17/1, 2011 at 8:6
1

© 2022 - 2024 — McMap. All rights reserved.