Interface IGameSettingsFactory
Factory interface for creating game settings instances.
Namespace: Serenity.GameSettings.Application.Interfaces
Assembly: Serenity.Global.Application.dll
Syntax
public interface IGameSettingsFactory
Methods
CreateGameSettings(IGameSettingsDefinition)
Creates a new game settings instance based on the provided definition.
Declaration
GameSettingsEntity CreateGameSettings(IGameSettingsDefinition definition)
Parameters
| Type | Name | Description |
|---|---|---|
| IGameSettingsDefinition | definition | The game settings definition to base the settings on. |
Returns
| Type | Description |
|---|---|
| GameSettingsEntity | A new instance of GameSettingsEntity configured according to the definition. |