XmlMetaDataExtensionsTests ConvertFullContentMetaDataToXml Method Delta Engine Documentation

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

public void ConvertFullContentMetaDataToXml()
Examples

[Test]
public void ConvertFullContentMetaDataToXml()
{
    ContentMetaData testMetaData = GetBasicTestContentMetaData();
    testMetaData.Language = "English";
    testMetaData.PlatformFileId = 3;
    testMetaData.Values.Add("CoolValue", "SuperCool");
    testMetaData.Values.Add("AnotherCoolValue", "SuperDuperCool");
    projectMetaData.AddMetaDataEntry(testMetaData);
    AssertFullContentMetaDataEntry(projectMetaData.Children[0], testMetaData);
}
See Also