mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
add method to get scheduled events
This commit is contained in:
parent
1ee87c0499
commit
01ddf1721c
2 changed files with 14 additions and 1 deletions
|
|
@ -187,6 +187,11 @@ namespace PepperDash.Essentials
|
|||
OnScheduledEventUpdate();
|
||||
}
|
||||
|
||||
public List<ScheduledEventConfig> GetScheduledEvents()
|
||||
{
|
||||
return _config.ScheduledEvents ?? new List<ScheduledEventConfig>();
|
||||
}
|
||||
|
||||
private void OnScheduledEventUpdate()
|
||||
{
|
||||
var handler = ScheduledEventsChanged;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue