Struct IssueDialogSettings
The settings to configure an issue handling dialog box.
Namespace: Unity.MARS.Companion.Core
Syntax
public struct IssueDialogSettings
Fields
AcceptText
Text that will be displayed on the accept/"OK" button
Declaration
public string AcceptText
Field Value
| Type | Description |
|---|---|
| String |
CancelText
Text that will be displayed on the cancel button
Declaration
public string CancelText
Field Value
| Type | Description |
|---|---|
| String |
Description
Text that will be displayed in the main body/description label
Declaration
public string Description
Field Value
| Type | Description |
|---|---|
| String |
ForceIgnoreToggle
Forces the toggle to be used for the ignore feature.
Declaration
public bool ForceIgnoreToggle
Field Value
| Type | Description |
|---|---|
| Boolean |
HasToggle
Should the dialog display a boolean state toggle, primarily for "ignore this message" settings. Can also be used for an important user preference toggle.
Declaration
public bool HasToggle
Field Value
| Type | Description |
|---|---|
| Boolean |
LogType
How will the text be logged to the console for diagnostics. Defaults to "Error" level logging.
Declaration
public LogType LogType
Field Value
| Type | Description |
|---|---|
| LogType |
Title
Text that will be displayed in the title label
Declaration
public string Title
Field Value
| Type | Description |
|---|---|
| String |
ToggleText
Text that will be displayed in the toggle field label.
Declaration
public string ToggleText
Field Value
| Type | Description |
|---|---|
| String |
Properties
IsValid
Do these settings have the minimum information needed to display a proper dialog box?
Declaration
public bool IsValid { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |