Esempio n. 1
0
 /// <summary>
 /// Handles data provided to the connector.
 /// </summary>
 /// <param name="value">The data provided.</param>
 private void HandleData(T value)
 {
     data = value;
     foreach (var f in fanoutList)
     {
         f.Data = value;
     }
     /* DataChanged?.Invoke(); */
     Push?.Invoke(value);
     if (last != null)
     {
         last.Data = value;
     }
 }
Esempio n. 2
0
 private void OnPush()
 {
     Push?.Invoke(this, new GameControllerEventArgs(this));
 }
Esempio n. 3
0
 private void Register()
 {
     Push?.Invoke(new Register(false));
 }
Esempio n. 4
0
        private void HandlePush(IWindow window)
        {
            UpdateState();

            Push?.Invoke(this, null);
        }