|
|
 |
Articles
|

DW.Services
|
Applications need possibilities to show for example an open file dialog, but if you use a pattern like MVVM you have the problem when to create and display the dialogs. For that everybody starts to use a ServiceLocator, sometimes called ServiceProvider.
This library contains many default services for the daily use, like the DialogService or the WindowService.
|
|
 |
BrowseFolderDialog |
|
|
This BrowseFolderDialog is a wrapper class for let a service describes which and how a real folder browse dialog will be displayed. With this you can display the dialog in the real environment and use a mock in unit tests.
|
 |
ColorPickerDialog |
|
|
This ColorPickerDialog is a wrapper class for let a service decides which and how a real color picker dialog will be displayed. With this you can display the dialog in the real environment and use a mock in unit tests.
|
 |
FontPickerDialog |
|
|
This FontPickerDialog is a wrapper class for let a service decides which and how a real font picker dialog will be displayed. With this you can display the dialog in the real environment and use a mock in unit tests.
|
 |
[I]DialogService |
|
|
The IDefaultService interface is the base for services for display windows dialogs like the OpenFileDialog or the BrowseFolderDialog. This library contains also a default implementation called DialogService.
|
 |
[I]FileFolderService |
|
|
The IFileFolderService interface is the base for services for working with local files or folders. This library contains also a default implementation called FileFolderService.
|
 |
[I]MessageBoxService |
|
|
The IMessageBoxService interface is the base for services for display MessageBoxes. This library contains also a default implementation called MessageBoxService.
|
 |
[I]WindowService |
|
|
The IWindowService interface is the base for services for display and register child window controls. This library contains also a default implementation called WindowService.
|
 |
OpenFileDialog |
|
|
This OpenFileDialog is a wrapper class for let a service decides which and how a real open file dialog will be displayed. With this you can display the dialog in the real environment and use a mock in unit tests.
|
 |
SaveFileDialog |
|
|
This SaveFileDialog is a wrapper class for let a service decides which and how a real save file dialog will be displayed. With this you can display the dialog in the real environment and use a mock in unit tests.
|
|
|
 |