FileSettings Save Method Delta Engine Documentation

Namespace: DeltaEngine.Platforms
Assembly: DeltaEngine.Platforms (in DeltaEngine.Platforms.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public override void Save()
Remarks

Tests: DeltaEngine.Platforms.Tests.FileSettingsTests
Examples

1 unit tests call DeltaEngine.Platforms.FileSettings.Save
[Test, CloseAfterFirstFrame]
public void ChangeAndSaveSettings()
{
    fileSettings.PlayerName = ModifiedPlayerName;
    fileSettings.TwoLetterLanguageName = ModifiedTwoLetterLanguageName;
    fileSettings.Save();
    Assert.IsTrue(File.Exists(SettingsFilePath));
}
See Also