Esempio n. 1
0
 /// <summary>
 /// Finishes the <see cref="ILampToy"/>.
 /// </summary>
 public override void Finish()
 {
     if (LampToy != null)
     {
         LampToy.Reset();
         if (Timer != null)
         {
             Timer.UnregisterIntervalAlarm(UpdateDimmer);
         }
     }
     _LampToy = null;
     Timer    = null;
 }