Method TryMapDefaultDialog
TryMapDefaultDialog(Type, Func<object>)
Maps a default dialog activator for the specified view model type only if no mapping has been registered for it. Used by framework-specific builders to register fallback dialog implementations (e.g. a built-in message dialog).
Declaration
protected void TryMapDefaultDialog(Type viewModelType, Func<object> activator)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | viewModelType | The dialog view model type. |
| Func<object> | activator | A factory delegate that creates a new framework dialog object instance. |