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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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