Class GameSettingsGetBoolValueOutput
Output data transfer object for retrieving a boolean game setting value.
Inherited Members
Namespace: Serenity.GameSettings.Application.DTO
Assembly: Serenity.Global.Application.dll
Syntax
public class GameSettingsGetBoolValueOutput
Constructors
GameSettingsGetBoolValueOutput(string, bool)
Initializes a new instance of the GameSettingsGetBoolValueOutput class.
Declaration
public GameSettingsGetBoolValueOutput(string id, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The unique identifier of the game setting. |
| bool | value | The value of the game setting. |
GameSettingsGetBoolValueOutput(string, string)
Initializes a new instance of the GameSettingsGetBoolValueOutput classby parsing the value from a string.
Declaration
public GameSettingsGetBoolValueOutput(string id, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The unique identifier of the game setting. |
| string | value | The string representation of the boolean value. |
Fields
Id
Declaration
public string Id
Field Value
| Type | Description |
|---|---|
| string | The unique identifier of the game setting. |
Value
Declaration
public bool Value
Field Value
| Type | Description |
|---|---|
| bool | The value of the game setting. |