Toast Engine
Loading...
Searching...
No Matches
editor.Components.Modals.ModalService Class Reference
Inheritance diagram for editor.Components.Modals.ModalService:
Collaboration diagram for editor.Components.Modals.ModalService:

Public Member Functions

Task ShowInfo (string title, string message)
Task ShowWarning (string title, string message)
Task ShowError (string title, string message)
async Task< bool > ShowConfirm (string title, string message)
async Task< SaveChangesResult > ShowSaveChanges (string filename)
async Task< string?> ShowSaveFile (string defaultPath, string extension=".tnode")

Static Public Member Functions

static ? Window FindActiveWindow ()

Member Function Documentation

◆ ShowConfirm()

async Task< bool > editor.Components.Modals.ModalService.ShowConfirm ( string title,
string message )
inline

◆ ShowError()

Task editor.Components.Modals.ModalService.ShowError ( string title,
string message )
inline

◆ ShowInfo()

Task editor.Components.Modals.ModalService.ShowInfo ( string title,
string message )
inline

◆ ShowSaveChanges()

async Task< SaveChangesResult > editor.Components.Modals.ModalService.ShowSaveChanges ( string filename)
inline

◆ ShowSaveFile()

async Task< string?> editor.Components.Modals.ModalService.ShowSaveFile ( string defaultPath,
string extension = ".tnode" )
inline

◆ ShowWarning()

Task editor.Components.Modals.ModalService.ShowWarning ( string title,
string message )
inline

The documentation for this class was generated from the following file:
  • editor/Components/Modals/ModalService.cs