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

35 lines
891 B

6 years ago
using System.Collections.Generic;
using ZeroLevel.DocumentObjectModel.Flow;
using ZeroLevel.Services.Serialization;
namespace ZeroLevel.DocumentObjectModel
{
public class FlowContent :
ContentElement
{
/// <summary>
/// Содержимое
/// </summary>
public List<Section> Sections = new List<Section>();
public FlowContent() :
base(ContentElementType.Content) { }
public FlowContent(IBinaryReader reader) :
base(ContentElementType.Content)
{
Deserialize(reader);
}
public override void Serialize(IBinaryWriter writer)
{
writer.WriteCollection<Section>(this.Sections);
}
public override void Deserialize(IBinaryReader reader)
{
this.Sections = reader.ReadCollection<Section>();
}
}
}

Powered by TurnKey Linux.