private static string IOTooltipConverter(AimeAnnotationContainer result) { List <string> tooltipList = (from annotation in result.Annotations where annotation.ImagingObservations != null from imagingObservation in annotation.ImagingObservations select string.Format("[{1}], [{0}], [{2}]", imagingObservation.TypeCodes[0].Code ?? "", imagingObservation.TypeCodes[0].DisplayName.Value ?? "", imagingObservation.TypeCodes[0].CodeSystemName ?? "")).ToList(); return(StringUtilities.Combine(tooltipList, "\n")); }
private static string AECTooltipConverter(AimeAnnotationContainer result) { List <string> tooltipList = (from annotation in result.Annotations where annotation.ImagingPhysicalEntities != null from entity in annotation.ImagingPhysicalEntities where entity.ImagingPhysicalEntityCharacteristicCollection != null && entity.ImagingPhysicalEntityCharacteristicCollection.ImagingPhysicalEntityCharacteristics != null from imagingObservationCharacteristic in entity.ImagingPhysicalEntityCharacteristicCollection.ImagingPhysicalEntityCharacteristics select string.Format("[{1}], [{0}], [{2}]", imagingObservationCharacteristic.TypeCodes[0].Code ?? "", imagingObservationCharacteristic.TypeCodes[0].DisplayName.Value ?? "", imagingObservationCharacteristic.TypeCodes[0].CodeSystemName ?? "")).ToList(); return(StringUtilities.Combine(tooltipList, "\n")); }
private void OnResultUpdated(AimeAnnotationContainer result) { if (SynchronizationContext.Current != _uiThreadSynchronizationContext) { _uiThreadSynchronizationContext.Post(delegate { OnResultUpdated(result); }, null); } else { if (SearchResultsComponent.IsStarted) { ResultsTable.Items.NotifyItemUpdated(result); } } }
private void OnResultUpdated(AimeAnnotationContainer result) { if (SynchronizationContext.Current != _uiThreadSynchronizationContext) { _uiThreadSynchronizationContext.Post(delegate { OnResultUpdated(result); }, null); } else { if (SearchResultsComponent.IsStarted) ResultsTable.Items.NotifyItemUpdated(result); } }
protected void OnResultUpdated(AimeAnnotationContainer result) { Coordinator.OnResultUpdated(result); }