ContentData IsDisposed Property Delta Engine Documentation

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

public bool IsDisposed { get; protected set; }

Property Value

Type: Boolean
Remarks

Tests: DeltaEngine.Content.Json.Tests.JsonContentTests
Examples

1 unit tests call DeltaEngine.Content.ContentData.IsDisposed
[Test, Category("Slow"), Ignore]
public void LoadJsonContentFromFile()
{
    var json = ContentLoader.Load<JsonContent>("Level");
    Assert.False(json.IsDisposed);
    Assert.AreEqual(9, json.Data.NumberOfNodes);
    Assert.AreEqual(48, json.Data.Get<int>("height"));
}
See Also