11 lines
488 B
C#
11 lines
488 B
C#
namespace decePubClient.Components.Daisy;
|
|||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Where an open overlay (a dialog, a menu, a sheet) says it is open, so that the phone's Back button closes it instead
|
||
|
|
/// of leaving the page: Open registers how to close it and returns what ends the registration once it is closed. The
|
||
|
|
/// app cascades one (OverlayService, from MainLayout); a component without one simply doesn't register.
|
||
|
|
/// </summary>
|
||
|
|
public interface IDOverlayHost
|
||
|
|
{
|
||
|
|
IDisposable Open(Func<Task> close);
|
||
|
|
}
|