Beispiel #1
0
        public static HNCCModel Deserialize(Stream stream)
        {
            HNCCModel hnccModel = new HNCCModel();

            hnccModel.DeserializeNccModel(HSerializedItem.Deserialize(stream));
            return(hnccModel);
        }
Beispiel #2
0
        public HNCCModel Clone()
        {
            HSerializedItem serializedItemHandle = this.SerializeNccModel();
            HNCCModel       hnccModel            = new HNCCModel();

            hnccModel.DeserializeNccModel(serializedItemHandle);
            serializedItemHandle.Dispose();
            return(hnccModel);
        }