Click or drag to resize

IDialogTResponse Interface

Provides the functionality of a dialog definition with a specialized dialog response struct of type TResponse.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public interface IDialog<out TResponse> : IDialog
where TResponse : struct, new()

Type Parameters

TResponse
The type of the specialized response struct.

The IDialogTResponse type exposes the following members.

Properties
  NameDescription
Public propertyButton1
Gets the text on the left button.
(Inherited from IDialog.)
Public propertyButton2
Gets the text on the right button.
(Inherited from IDialog.)
Public propertyCaption
Gets the caption of the dialog.
(Inherited from IDialog.)
Public propertyContent
Gets the content of the dialog.
(Inherited from IDialog.)
Public propertyStyle
Gets the dialog style.
(Inherited from IDialog.)
Top
Methods
  NameDescription
Public methodTranslate
Translates the specified dialogResult to a specialized response of type TResponse.
Top
See Also