Interface IDialog<TResponse>
Provides the functionality of a dialog definition with a specialized dialog response struct of type TResponse.
public interface IDialog<out TResponse> : IDialog where TResponse : struct
Type Parameters
TResponseThe type of the specialized response struct.
- Inherited Members
Methods
Translate(DialogResult)
Translates the specified dialogResult to a specialized response of type TResponse.
TResponse Translate(DialogResult dialogResult)
Parameters
dialogResultDialogResultThe dialog result to translate.
Returns
- TResponse
The translated dialog result.