Exemplo n.º 1
0
        public static HVariationModel Deserialize(Stream stream)
        {
            HVariationModel hvariationModel = new HVariationModel();

            hvariationModel.DeserializeVariationModel(HSerializedItem.Deserialize(stream));
            return(hvariationModel);
        }
Exemplo n.º 2
0
        public HVariationModel Clone()
        {
            HSerializedItem serializedItemHandle = this.SerializeVariationModel();
            HVariationModel hvariationModel      = new HVariationModel();

            hvariationModel.DeserializeVariationModel(serializedItemHandle);
            serializedItemHandle.Dispose();
            return(hvariationModel);
        }