KAMISHIBAI
Public Member Functions | List of all members
WindowService Class Reference
Inheritance diagram for WindowService:
IWindowService

Public Member Functions

 WindowService (IServiceProvider serviceProvider)
 
Task OpenWindowAsync (Type viewModelType, object? owner, OpenWindowOptions options)
 
Task OpenWindowAsync< TViewModel > (object? owner, OpenWindowOptions options)
 
Task OpenWindowAsync< TViewModel > (TViewModel viewModel, object? owner, OpenWindowOptions options)
 
Task OpenWindowAsync< TViewModel > (Action< TViewModel > init, object? owner, OpenWindowOptions options)
 
async Task OpenWindowAsync (Type viewModelType, object? owner, object viewModel, OpenWindowOptions options)
 
Task< bool > OpenDialogAsync (Type viewModelType, object? owner, OpenDialogOptions options)
 
Task< bool > OpenDialogAsync< TViewModel > (object? owner, OpenDialogOptions options)
 
Task< bool > OpenDialogAsync< TViewModel > (TViewModel viewModel, object? owner, OpenDialogOptions options)
 
Task< bool > OpenDialogAsync< TViewModel > (Action< TViewModel > init, object? owner, OpenDialogOptions options)
 
async Task CloseWindowAsync (object? window)
 
async Task CloseDialogAsync (bool dialogResult, object? window)
 
MessageBoxResult ShowMessage (string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon, MessageBoxResult defaultResult, MessageBoxOptions options, object? owner)
 
DialogResult OpenFile (OpenFileDialogContext context)
 
DialogResult SaveFile (SaveFileDialogContext context)
 
Task OpenWindowAsync (Type viewModelType, object? owner, OpenWindowOptions options)
 
Task OpenWindowAsync< TViewModel > (object? owner, OpenWindowOptions options)
 
Task OpenWindowAsync< TViewModel > (TViewModel viewModel, object? owner, OpenWindowOptions options)
 
Task OpenWindowAsync< TViewModel > (Action< TViewModel > init, object? owner, OpenWindowOptions options)
 
Task< bool > OpenDialogAsync (Type viewModelType, object? owner, OpenDialogOptions options)
 
Task< bool > OpenDialogAsync< TViewModel > (object? owner, OpenDialogOptions options)
 
Task< bool > OpenDialogAsync< TViewModel > (TViewModel viewModel, object? owner, OpenDialogOptions options)
 
Task< bool > OpenDialogAsync< TViewModel > (Action< TViewModel > init, object? owner, OpenDialogOptions options)
 
Task CloseWindowAsync (object? window)
 
Task CloseDialogAsync (bool dialogResult, object? window)
 
MessageBoxResult ShowMessage (string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon, MessageBoxResult defaultResult, MessageBoxOptions options, object? owner)
 
DialogResult OpenFile (OpenFileDialogContext context)
 
DialogResult SaveFile (SaveFileDialogContext context)
 

Member Function Documentation

◆ CloseDialogAsync()

async Task WindowService.CloseDialogAsync ( bool  dialogResult,
object?  window 
)
inline

Implements IWindowService.

◆ CloseWindowAsync()

async Task WindowService.CloseWindowAsync ( object?  window)
inline

Implements IWindowService.

◆ OpenDialogAsync()

Task< bool > WindowService.OpenDialogAsync ( Type  viewModelType,
object?  owner,
OpenDialogOptions  options 
)
inline

Implements IWindowService.

◆ OpenDialogAsync< TViewModel >() [1/3]

Task< bool > WindowService.OpenDialogAsync< TViewModel > ( Action< TViewModel >  init,
object?  owner,
OpenDialogOptions  options 
)
inline

Implements IWindowService.

◆ OpenDialogAsync< TViewModel >() [2/3]

Task< bool > WindowService.OpenDialogAsync< TViewModel > ( object?  owner,
OpenDialogOptions  options 
)

Implements IWindowService.

◆ OpenDialogAsync< TViewModel >() [3/3]

Task< bool > WindowService.OpenDialogAsync< TViewModel > ( TViewModel  viewModel,
object?  owner,
OpenDialogOptions  options 
)
inline

Implements IWindowService.

Type Constraints
TViewModel :notnull 

◆ OpenFile()

DialogResult WindowService.OpenFile ( OpenFileDialogContext  context)
inline

Implements IWindowService.

◆ OpenWindowAsync()

Task WindowService.OpenWindowAsync ( Type  viewModelType,
object?  owner,
OpenWindowOptions  options 
)
inline

Implements IWindowService.

◆ OpenWindowAsync< TViewModel >() [1/3]

Task WindowService.OpenWindowAsync< TViewModel > ( Action< TViewModel >  init,
object?  owner,
OpenWindowOptions  options 
)
inline

Implements IWindowService.

◆ OpenWindowAsync< TViewModel >() [2/3]

Task WindowService.OpenWindowAsync< TViewModel > ( object?  owner,
OpenWindowOptions  options 
)

Implements IWindowService.

◆ OpenWindowAsync< TViewModel >() [3/3]

Task WindowService.OpenWindowAsync< TViewModel > ( TViewModel  viewModel,
object?  owner,
OpenWindowOptions  options 
)
inline

Implements IWindowService.

Type Constraints
TViewModel :notnull 

◆ SaveFile()

DialogResult WindowService.SaveFile ( SaveFileDialogContext  context)
inline

Implements IWindowService.

◆ ShowMessage()

MessageBoxResult WindowService.ShowMessage ( string  messageBoxText,
string  caption,
MessageBoxButton  button,
MessageBoxImage  icon,
MessageBoxResult  defaultResult,
MessageBoxOptions  options,
object?  owner 
)
inline

Implements IWindowService.


The documentation for this class was generated from the following file: