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/Row.cs

33 lines
801 B

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

Powered by TurnKey Linux.