Search:
Namespaces
Discussions
.NET v1.1
Feedback
Directly deriving from MulticastDelegate
Messages
Related Types
This message was discovered on
microsoft.public.dotnet.framework
.
Post a new message to this list...
Paul Selormey
Hello All,
It is possible with C#? If not, anyway to define my own event
accessor methods as in MC++?
Best regards,
Paul.
Reply to this message...
Robert Jordan
Paul Selormey wrote:
[Original message clipped]
actually you derive from
MulticastDelegate
when
you define a delegate type like:
public delegate void SomeEvnetHandler(object sender, SomeArgs e)
the C# event accessor syntax is:
event Name {
add {
}
remove {
}
}
bye
Rob
Reply to this message...
Paul Selormey
Thanks for the response.
I mean direct derivation from the
MulticastDelegate
, not the
compiler auto-generated codes.
Best regards,
Paul.
"Robert Jordan" <
Click here to reveal e-mail address
> wrote in message
news:chh3h6$bk6$07$
Click here to reveal e-mail address
...
[Original message clipped]
Reply to this message...
Robert Jordan
Paul Selormey wrote:
[Original message clipped]
That's not possible. Even managed C++ cannot inherit from
MulticastDelegate
.
bye
Rob
Reply to this message...
System.MulticastDelegate
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com