Exemple #1
0
            public void Load(Beetle.IDataReader reader)
            {
                string type = reader.ReadUTF();
                string data = reader.ReadString((int)(reader.Length - reader.Position));

                Message = Newtonsoft.Json.JsonConvert.DeserializeObject(data, Package.GetType(type));
            }
Exemple #2
0
 public virtual void Load(Beetle.IDataReader reader)
 {
     ID = reader.ReadString();
 }
Exemple #3
0
 public override void Load(Beetle.IDataReader reader)
 {
     base.Load(reader);
     Name = reader.ReadString();
 }
Exemple #4
0
 public override void Load(Beetle.IDataReader reader)
 {
     base.Load(reader);
     User = reader.ReadMessage <UserInfo>();
     Body = reader.ReadString();
 }
Exemple #5
0
 public void Load(Beetle.IDataReader reader)
 {
     Name = reader.ReadString();
     IP   = reader.ReadString();
 }
Exemple #6
0
 public void Load(Beetle.IDataReader reader)
 {
     Name         = reader.ReadString();
     EMail        = reader.ReadString();
     ResponseTime = reader.ReadDateTime();
 }