EventSubscription.cs 595 B

1234567891011121314151617181920
  1. // Copyright (c) The Avalonia Project. All rights reserved.
  2. // Licensed under the MIT license. See licence.md file in the project root for full license information.
  3. using System;
  4. namespace Avalonia.Interactivity
  5. {
  6. internal delegate void HandlerInvokeSignature(Delegate baseHandler, object sender, RoutedEventArgs args);
  7. internal class EventSubscription
  8. {
  9. public HandlerInvokeSignature InvokeAdapter { get; set; }
  10. public Delegate Handler { get; set; }
  11. public RoutingStrategies Routes { get; set; }
  12. public bool AlsoIfHandled { get; set; }
  13. }
  14. }