public static HNCCModel Deserialize(Stream stream) { HNCCModel hnccModel = new HNCCModel(); hnccModel.DeserializeNccModel(HSerializedItem.Deserialize(stream)); return(hnccModel); }
public HNCCModel Clone() { HSerializedItem serializedItemHandle = this.SerializeNccModel(); HNCCModel hnccModel = new HNCCModel(); hnccModel.DeserializeNccModel(serializedItemHandle); serializedItemHandle.Dispose(); return(hnccModel); }
internal static int LoadNew(IntPtr proc, int parIndex, int err, out HNCCModel[] obj) { HTuple tuple; err = HTuple.LoadNew(proc, parIndex, err, out tuple); obj = new HNCCModel[tuple.Length]; for (int index = 0; index < tuple.Length; ++index) { obj[index] = new HNCCModel(tuple[index].IP); } return(err); }
internal static int LoadNew(IntPtr proc, int parIndex, int err, out HNCCModel obj) { obj = new HNCCModel(HTool.UNDEF); return(obj.Load(proc, parIndex, err)); }