private void ProcessDoubleAnimationWithKeys(DoubleAnimationUsingKeyFrames da)
 {
     foreach (DoubleKeyFrame frame in da.KeyFrames)
     {
         var d = DoubleAnimationFrameAdapter.GetDimensionFromMagicNumber(frame.Value);
         if (d.HasValue)
         {
             this.specialAnimations.Add(new DoubleAnimationFrameAdapter(d.Value, frame));
         }
     }
 }
 /// <summary>
 /// Processes a double animation with keyframes, looking for known
 /// special values to store with an adapter.
 /// </summary>
 /// <param name="da">The double animation using key frames instance.</param>
 private void ProcessDoubleAnimationWithKeys(DoubleAnimationUsingKeyFrames da)
 {
     // Look through all keyframes in the instance.
     foreach (DoubleKeyFrame frame in da.KeyFrames)
     {
         var d = DoubleAnimationFrameAdapter.GetDimensionFromMagicNumber(frame.Value);
         if (d.HasValue)
         {
             _specialAnimations.Add(new DoubleAnimationFrameAdapter(d.Value, frame));
         }
     }
 }