예제 #1
0
 /// <summary>
 /// Attempts to update the organized code items collection based on the specified snapshot.
 /// </summary>
 /// <param name="snapshot">The code items snapshot.</param>
 private void UpdateOrganizedCodeItems(SnapshotCodeItems snapshot)
 {
     if (Document == snapshot.Document)
     {
         OrganizedCodeItems = snapshot.CodeItems;
     }
 }
예제 #2
0
 /// <summary>
 /// Attempts to update the organized code items collection based on the specified snapshot.
 /// </summary>
 /// <param name="snapshot">The code items snapshot.</param>
 private void UpdateOrganizedCodeItems(SnapshotCodeItems snapshot)
 {
     if (Document == snapshot.Document)
     {
         Dispatcher.BeginInvoke(DispatcherPriority.Input, new Action(() => OrganizedCodeItems = snapshot.CodeItems));
     }
 }