Пример #1
0
        public static HComponentTraining Deserialize(Stream stream)
        {
            HComponentTraining hcomponentTraining = new HComponentTraining();

            hcomponentTraining.DeserializeTrainingComponents(HSerializedItem.Deserialize(stream));
            return(hcomponentTraining);
        }
Пример #2
0
        public HComponentTraining Clone()
        {
            HSerializedItem    serializedItemHandle = this.SerializeTrainingComponents();
            HComponentTraining hcomponentTraining   = new HComponentTraining();

            hcomponentTraining.DeserializeTrainingComponents(serializedItemHandle);
            serializedItemHandle.Dispose();
            return(hcomponentTraining);
        }