public static void PublishStudiesCleared() { try { PublishManager <IWorkItemActivityCallback> .Publish(StudiesCleared); } catch (Exception e) { Platform.Log(LogLevel.Warn, e, "Unexpected error attempting to publish StudiesCleared notification."); } }
public static void PublishWorkItemsChanged(WorkItemsChangedEventType eventType, List <WorkItemData> workItems) { try { PublishManager <IWorkItemActivityCallback> .Publish(WorkItemsChanged, eventType, workItems); } catch (Exception e) { Platform.Log(LogLevel.Warn, e, "Unexpected error attempting to publish WorkItemsChanged notification."); } }