- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDynamicModuleEvents.cs
More file actions
Latest commit
29 lines (22 loc) · 834 Bytes
/
Copy pathDynamicModuleEvents.cs
File metadata and controls
29 lines (22 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
publicstaticclassEventHelper{
/// <summary>
/// Subscribe to events
/// </summary>
publicstaticvoidSubscribeToEvents(){
// Subscribe to the DynamicModule events
EventHub.Subscribe<IDynamicContentCreatedEvent>(e =>DynamicContentCreatedEvent(e));
EventHub.Subscribe<IDynamicContentUpdatedEvent>(e =>DynamicContentUpdatedEvent(e));
}
/// <summary>
/// Dynamics the content updated event_ handler.
/// </summary>
/// <param name="event">The event.</param>
privatestaticvoidDynamicContentCreatedEvent(IDynamicContentCreatedEventeventInfo){
}
/// <summary>
/// Dynamics the content updated event_ handler.
/// </summary>
/// <param name="event">The event.</param>
privatestaticvoidDynamicContentUpdatedEvent(IDynamicContentUpdatedEventeventInfo){
}
}