Stream(ArrayList data, LoadTypeBase loadBase) { data.Add(new Snoop.Data.ClassSeparator(typeof(LoadTypeBase))); // Nothing at this level yet AreaLoadType areaLoadType = loadBase as AreaLoadType; if (areaLoadType != null) { Stream(data, areaLoadType); return; } LineLoadType lineLoadType = loadBase as LineLoadType; if (lineLoadType != null) { Stream(data, lineLoadType); return; } PointLoadType pointLoadType = loadBase as PointLoadType; if (pointLoadType != null) { Stream(data, pointLoadType); return; } }
private void Stream(ArrayList data, PointLoadType pointLoadType) { data.Add(new Snoop.Data.ClassSeparator(typeof(PointLoadType))); // Nothing at this level yet }
Stream(ArrayList data, PointLoadType pointLoadType) { data.Add(new Snoop.Data.ClassSeparator(typeof(PointLoadType))); // Nothing at this level yet }