using Esyur.Core; using Esyur.Data; using System; using System.Collections.Generic; using System.Text; namespace Esyur.Net { public class SendList : BinaryList { NetworkConnection connection; AsyncReply reply; public SendList(NetworkConnection connection, AsyncReply reply) { this.reply = reply; this.connection = connection; } public override AsyncReply Done() { connection.Send(this.ToArray()); return reply; } } }