Application.Clipboard.cs 518 B

123456789101112131415
  1. namespace Terminal.Gui.App;
  2. public static partial class Application // Clipboard handling
  3. {
  4. /// <summary>
  5. /// Gets the clipboard for the application.
  6. /// </summary>
  7. /// <remarks>
  8. /// <para>
  9. /// Provides access to the OS clipboard through the driver.
  10. /// </para>
  11. /// </remarks>
  12. [Obsolete ("The legacy static Application object is going away. Use IApplication.Clipboard instead.")]
  13. public static IClipboard? Clipboard => ApplicationImpl.Instance.Clipboard;
  14. }