public void opBoolS_async(Test.AMD_MyClass_opBoolS cb, Test.BoolS p1, Test.BoolS p2, Ice.Current current) { Test.BoolS p3 = new Test.BoolS(); p3.AddRange(p1); p3.AddRange(p2); Test.BoolS r = new Test.BoolS(); for (int i = 0; i < p1.Count; i++) { r.Add(p1[p1.Count - (i + 1)]); } cb.ice_response(r, p3); }
public void opBoolS_async(Test.AMD_MyClass_opBoolS cb, bool[] p1, bool[] p2, Ice.Current current) { bool[] p3 = new bool[p1.Length + p2.Length]; Array.Copy(p1, p3, p1.Length); Array.Copy(p2, 0, p3, p1.Length, p2.Length); bool[] r = new bool[p1.Length]; for (int i = 0; i < p1.Length; i++) { r[i] = p1[p1.Length - (i + 1)]; } cb.ice_response(r, p3); }