コード例 #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);
        }
コード例 #3
0
        internal static int LoadNew(IntPtr proc, int parIndex, int err, out HComponentTraining[] obj)
        {
            HTuple tuple;

            err = HTuple.LoadNew(proc, parIndex, err, out tuple);
            obj = new HComponentTraining[tuple.Length];
            for (int index = 0; index < tuple.Length; ++index)
            {
                obj[index] = new HComponentTraining(tuple[index].IP);
            }
            return(err);
        }
コード例 #4
0
 internal static int LoadNew(IntPtr proc, int parIndex, int err, out HComponentTraining obj)
 {
     obj = new HComponentTraining(HTool.UNDEF);
     return(obj.Load(proc, parIndex, err));
 }