public void Deserialize(Common.Serialization.IO.CompactReader reader)
 {
     Name    = reader.ReadObject() as string;
     Port    = reader.ReadInt32();
     Servers = reader.ReadObject() as ServerNodes;
     UID     = reader.ReadObject() as string;
 }
Beispiel #2
0
        public object Clone()
        {
            ServerNodes serverNodes = new ServerNodes();

            serverNodes.Nodes = Nodes != null?Nodes.Clone <string, ServerNode>() : null;

            return(serverNodes);
        }