Stream(ArrayList data, HostObjAttributes hostAtt) { data.Add(new Snoop.Data.ClassSeparator(typeof(HostObjAttributes))); data.Add(new Snoop.Data.Object("Compound Structure", hostAtt.GetCompoundStructure())); ContFootingType contFootingType = hostAtt as ContFootingType; if (contFootingType != null) { Stream(data, contFootingType); return; } CurtainSystemType curSysType = hostAtt as CurtainSystemType; if (curSysType != null) { Stream(data, curSysType); return; } FloorType floorType = hostAtt as FloorType; if (floorType != null) { Stream(data, floorType); return; } HostedSweepType hostSweepType = hostAtt as HostedSweepType; if (hostSweepType != null) { Stream(data, hostSweepType); return; } RoofType roofType = hostAtt as RoofType; if (roofType != null) { Stream(data, roofType); return; } WallType wallType = hostAtt as WallType; if (wallType != null) { Stream(data, wallType); return; } }
private void Stream(ArrayList data, ContFootingType contFootingType) { data.Add(new Snoop.Data.ClassSeparator(typeof(ContFootingType))); // No data at this level yet! }
Stream(ArrayList data, ContFootingType contFootingType) { data.Add(new Snoop.Data.ClassSeparator(typeof(ContFootingType))); // No data at this level yet! }