You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zero/ZeroLevel/Services/DOM/Model/Flow/List.cs

33 lines
820 B

6 years ago
using DOM.Services;
using System.Collections.Generic;
using ZeroLevel.Services.Serialization;
namespace ZeroLevel.DocumentObjectModel.Flow
{
public class List :
6 years ago
ContentElement
{
public List<IContentElement> Items = new List<IContentElement>();
public List() :
6 years ago
base(ContentElementType.List)
{
}
public List(IBinaryReader reader) :
6 years ago
base(ContentElementType.List)
{
Deserialize(reader);
}
public override void Serialize(IBinaryWriter writer)
{
ContentElementSerializer.WriteCollection(writer, this.Items);
}
public override void Deserialize(IBinaryReader reader)
{
this.Items = ContentElementSerializer.ReadCollection(reader);
}
}
}

Powered by TurnKey Linux.