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