Stream(ArrayList data, CurveArray curveArray) { data.Add(new Snoop.Data.ClassSeparator(typeof(CurveArray))); IEnumerator iter = curveArray.GetEnumerator(); int i = 0; while (iter.MoveNext()) { data.Add(new Snoop.Data.Object(string.Format("Curve {0:d}", i++), iter.Current)); } }
private void Stream(ArrayList data, CurveArray curveArray) { data.Add(new Snoop.Data.ClassSeparator(typeof(CurveArray))); IEnumerator iter = curveArray.GetEnumerator(); int i = 0; while (iter.MoveNext()) { data.Add(new Snoop.Data.Object(string.Format("Curve {0:d}", i++), iter.Current)); } }