Loading files
fe3105350This file is pinned to the selected release. Download the original to open it in your design tool.
// <auto-generated/>
//------------------------------------------------------------------------------------------------
// This file has been programatically generated; DON´T EDIT!
//------------------------------------------------------------------------------------------------
#pragma warning disable SA1001
#pragma warning disable SA1027
#pragma warning disable SA1028
#pragma warning disable SA1121
#pragma warning disable SA1205
#pragma warning disable SA1309
#pragma warning disable SA1402
#pragma warning disable SA1505
#pragma warning disable SA1507
#pragma warning disable SA1508
#pragma warning disable SA1652
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Numerics;
using System.Text.Json;
namespace SharpGLTF.Schema2
{
using Collections;
/// <summary>
/// Metadata about the glTF asset.
/// </summary>
partial class XMPPacketsCollection : ExtraProperties
{
private Object _atcontext;
private const int _packetsMinItems = 1;
private List<Object> _packets;
protected override void SerializeProperties(Utf8JsonWriter writer)
{
base.SerializeProperties(writer);
SerializeProperty(writer, "@context", _atcontext);
SerializeProperty(writer, "packets", _packets, _packetsMinItems);
}
protected override void DeserializeProperty(string jsonPropertyName, ref Utf8JsonReader reader)
{
switch (jsonPropertyName)
{
case "@context": _atcontext = DeserializePropertyValue<Object>(ref reader); break;
case "packets": DeserializePropertyList<Object>(ref reader, _packets); break;
default: base.DeserializeProperty(jsonPropertyName,ref reader); break;
}
}
}
}