コード例 #1
0
 public static void PublishStudiesCleared()
 {
     try
     {
         PublishManager <IWorkItemActivityCallback> .Publish(StudiesCleared);
     }
     catch (Exception e)
     {
         Platform.Log(LogLevel.Warn, e, "Unexpected error attempting to publish StudiesCleared notification.");
     }
 }
コード例 #2
0
 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.");
     }
 }