Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is it possible to define our own event.? i am developing package for customer. the idea is to allow umbraco developers to subscribe to event we define in package.
Hi!
That should be totally possible, just create a new C#-event and document how this event works.
https://docs.microsoft.com/en-us/dotnet/standard/events/
I’ve done this with my Newsletter Studio-package for example.
As Markus said just create a C# event. For your devs to subscribe to it they'll have to use Composition:
https://our.umbraco.com/documentation/Implementation/Composing/#example---creating-a-component-to-listen-for-contentservicesaving-events
Thank all for the support. i was able to resolve the issue
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Create New Event
Is it possible to define our own event.? i am developing package for customer. the idea is to allow umbraco developers to subscribe to event we define in package.
Hi!
That should be totally possible, just create a new C#-event and document how this event works.
https://docs.microsoft.com/en-us/dotnet/standard/events/
I’ve done this with my Newsletter Studio-package for example.
As Markus said just create a C# event. For your devs to subscribe to it they'll have to use Composition:
https://our.umbraco.com/documentation/Implementation/Composing/#example---creating-a-component-to-listen-for-contentservicesaving-events
Thank all for the support. i was able to resolve the issue
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.