protected override bool assignObject(object obj) { if (obj == null || obj.GetType() != typeof(Notes_DataObject)) { return false; } dataObject = (Notes_DataObject)obj; return true; }
public void addPartData(ScienceData Data, IScienceDataContainer Container) { Notes_DataObject n = new Notes_DataObject(Data, this, Container); if (!partData.Contains(n)) partData.Add(n); }