コード例 #1
0
 internal static int LoadNew(
     IntPtr proc,
     int parIndex,
     int err,
     out HDlClassifierTrainResult obj)
 {
     obj = new HDlClassifierTrainResult(HTool.UNDEF);
     return(obj.Load(proc, parIndex, err));
 }
コード例 #2
0
        internal static int LoadNew(
            IntPtr proc,
            int parIndex,
            int err,
            out HDlClassifierTrainResult[] obj)
        {
            HTuple tuple;

            err = HTuple.LoadNew(proc, parIndex, err, out tuple);
            obj = new HDlClassifierTrainResult[tuple.Length];
            for (int index = 0; index < tuple.Length; ++index)
            {
                obj[index] = new HDlClassifierTrainResult(tuple[index].IP);
            }
            return(err);
        }