MockContentLoaderTests CheckIfContentExists Method Delta Engine Documentation

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

public void CheckIfContentExists()
Examples

[Test]
public void CheckIfContentExists()
{
    Assert.IsTrue(ContentLoader.Exists(TestXmlContentName));
    Assert.IsTrue(ContentLoader.Exists(TestXmlContentName, ContentType.Xml));
    Assert.IsFalse(ContentLoader.Exists(TestXmlContentName, ContentType.Camera));
}
See Also