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

35 lines
899 B

6 years ago
using System.Collections.Generic;
using ZeroLevel.Services.Serialization;
namespace ZeroLevel.DocumentObjectModel.Flow
{
public sealed class Videoplayer :
ContentElement
{
public Text Title;
public List<Video> Playlist = new List<Video>();
public Videoplayer() :
base(ContentElementType.Videoplayer)
{
}
public Videoplayer(IBinaryReader reader) :
base(ContentElementType.Videoplayer)
{
Deserialize(reader);
}
public override void Deserialize(IBinaryReader reader)
{
Title = reader.Read<Text>();
this.Playlist = reader.ReadCollection<Video>();
}
public override void Serialize(IBinaryWriter writer)
{
writer.Write(Title);
writer.WriteCollection<Video>(this.Playlist);
}
}
}

Powered by TurnKey Linux.