/// <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; }
/// <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; }