Application.TopRunnable.cs 761 B

12345678910111213141516
  1. using System.Collections.Concurrent;
  2. namespace Terminal.Gui.App;
  3. public static partial class Application // TopRunnable handling
  4. {
  5. /// <summary>The <see cref="View"/> that is on the top of the <see cref="IApplication.SessionStack"/>.</summary>
  6. /// <value>The top runnable.</value>
  7. [Obsolete ("The legacy static Application object is going away.")]
  8. public static View? TopRunnableView => ApplicationImpl.Instance.TopRunnableView;
  9. /// <summary>The <see cref="View"/> that is on the top of the <see cref="IApplication.SessionStack"/>.</summary>
  10. /// <value>The top runnable.</value>
  11. [Obsolete ("The legacy static Application object is going away.")]
  12. public static IRunnable? TopRunnable => ApplicationImpl.Instance.TopRunnable;
  13. }