Class GameSettingsSetBoolValueInput
Inherited Members
Namespace: Serenity.GameSettings.Application.DTO
Assembly: Serenity.Global.Application.dll
Syntax
public class GameSettingsSetBoolValueInput
Constructors
GameSettingsSetBoolValueInput(string, bool)
Initializes a new instance of the GameSettingsSetBoolValueInput class.
Declaration
public GameSettingsSetBoolValueInput(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. |
GameSettingsSetBoolValueInput(string, string)
Initializes a new instance of the GameSettingsSetBoolValueInput classby parsing the value from a string.
Declaration
public GameSettingsSetBoolValueInput(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. |