Example #1
0
 /// <summary>
 ///     Removes an element from the <code>IPulseableElement</code> linked list contained in this instance.
 /// </summary>
 /// <param name="windowEngine">The window engine.</param>
 public void RemoveCallback(IPulsableElement windowEngine)
 {
     if (Pulsables.Contains(windowEngine))
     {
         Pulsables.Remove(windowEngine);
     }
 }
Example #2
0
 /// <summary>
 ///     Removes an element from the <code>IPulseableElement</code> linked list contained in this instance.
 /// </summary>
 /// <param name="windowEngine">The window engine.</param>
 public void RemoveCallback(IPulsableElement windowEngine)
 {
     if (Pulsables.Contains(windowEngine))
     {
         Pulsables.Remove(windowEngine);
     }
 }
Example #3
0
 /// <summary>
 ///     Adds a <code>IPulseableElement</code> member to the linked list. All elements in the list will have their
 ///     <code>Pulse()</code> method called when the <see cref="UserMessage.StartUp" /> is message is invoked.
 /// </summary>
 /// <param name="windowEngine">The window engine.</param>
 public void RegisterCallback(IPulsableElement windowEngine)
 {
     Pulsables.AddLast(windowEngine);
 }
Example #4
0
 /// <summary>
 ///     Adds a <code>IPulseableElement</code> member to the linked list. All elements in the list will have their
 ///     <code>Pulse()</code> method called when the <see cref="UserMessage.StartUp" /> is message is invoked.
 /// </summary>
 /// <param name="windowEngine">The window engine.</param>
 public void RegisterCallback(IPulsableElement windowEngine)
 {
     Pulsables.AddLast(windowEngine);
 }