Theme LoadFromFile Method Delta Engine Documentation

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

public void LoadFromFile(
	Stream fileData
)
Remarks

Tests: DeltaEngine.Scenes.Tests.Controls.ThemeTests
Examples

1 unit tests call DeltaEngine.Scenes.Controls.Theme.LoadFromFile(System.IO.Stream)
[Test, CloseAfterFirstFrame]
public void LoadThemeFromFile()
{
    Theme theme = CreateSampleTheme();
    var loadedData = new Theme();
    loadedData.LoadFromFile(dataStream);
    AssertLoadedThemeData(theme, loadedData);
}
See Also