コード例 #1
0
 void intermediateDeclaration_IdentifierChanged(object sender, DeclarationIdentifierChangeEventArgs <IGeneralDeclarationUniqueIdentifier> e)
 {
     lock (this.SyncRoot)
     {
         int index = this.Keys.IndexOf((TDeclarationIdentifier)e.OldIdentifier);
         if (index == -1)
         {
             return;
         }
         this.Keys[index] = (TDeclarationIdentifier)e.NewIdentifier;
     }
 }