C# Class CalDavSynchronizer.Ui.UiService

Inheritance: IUiService
Exibir arquivo Open project: aluxnimm/outlookcaldavsynchronizer

Public Methods

Method Description
QueryProfileType ( ) : ProfileType?
Show ( ReportsViewModel reportsViewModel ) : void
ShowErrorDialog ( string errorMessage, string title ) : void
ShowOpenDialog ( string title ) : string
ShowOptions ( OptionsCollectionViewModel viewModel ) : bool
ShowProfileStatusesWindow ( ) : void
ShowReport ( string title, string reportText ) : void
ShowSaveDialog ( string title ) : string
UiService ( ProfileStatusesViewModel viewModel ) : System

Private Methods

Method Description
SetWindowSize ( GenericElementHostWindow window, double ratioToCurrentScreensize ) : void

Method Details

QueryProfileType() public method

public QueryProfileType ( ) : ProfileType?
return ProfileType?

Show() public method

public Show ( ReportsViewModel reportsViewModel ) : void
reportsViewModel ReportsViewModel
return void

ShowErrorDialog() public method

public ShowErrorDialog ( string errorMessage, string title ) : void
errorMessage string
title string
return void

ShowOpenDialog() public method

public ShowOpenDialog ( string title ) : string
title string
return string

ShowOptions() public method

public ShowOptions ( OptionsCollectionViewModel viewModel ) : bool
viewModel OptionsCollectionViewModel
return bool

ShowProfileStatusesWindow() public method

public ShowProfileStatusesWindow ( ) : void
return void

ShowReport() public method

public ShowReport ( string title, string reportText ) : void
title string
reportText string
return void

ShowSaveDialog() public method

public ShowSaveDialog ( string title ) : string
title string
return string

UiService() public method

public UiService ( ProfileStatusesViewModel viewModel ) : System
viewModel ProfileStatusesViewModel
return System