IAutomationNodeFactory.cs 469 B

123456789101112131415161718
  1. using Avalonia.Automation.Peers;
  2. #nullable enable
  3. namespace Avalonia.Automation.Platform
  4. {
  5. /// <summary>
  6. /// Creates nodes in the UI Automation tree of the underlying platform.
  7. /// </summary>
  8. public interface IAutomationNodeFactory
  9. {
  10. /// <summary>
  11. /// Creates an automation node for a peer.
  12. /// </summary>
  13. /// <param name="peer">The peer.</param>
  14. IAutomationNode CreateNode(AutomationPeer peer);
  15. }
  16. }