Пример #1
0
 public void Deserialize(Common.Serialization.IO.CompactReader reader)
 {
     Name          = reader.ReadObject() as string;
     ConfigServers = reader.ReadObject() as DbmConfigServers;
     Shards        = reader.ReadObject() as DbmShards;
     UID           = reader.ReadObject() as string;
 }
Пример #2
0
        public object Clone()
        {
            DbmShards dbmShards = new DbmShards();

            dbmShards.ShardNodes = ShardNodes != null ? (DbmShard[])ShardNodes.Clone() : null;

            return(dbmShards);
        }