예제 #1
0
        public object Clone()
        {
            DbmClustersConfiguration configuration = new DbmClustersConfiguration();

            configuration.ClustersConfigurations = ClustersConfigurations != null ?
                                                   (DbmClusterConfiguration[])ClustersConfigurations.Clone() : null;
            return(configuration);
        }
예제 #2
0
 public void Deserialize(Common.Serialization.IO.CompactReader reader)
 {
     IP          = reader.ReadObject() as string;
     Port        = reader.ReadInt32();
     DbmClusters = reader.ReadObject() as DbmClustersConfiguration;
 }