FileSettingsTests ChangeAndSaveSettings Method Delta Engine Documentation

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

public void ChangeAndSaveSettings()
Examples

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