public void opFloatDoubleS_async(Test.AMD_MyClass_opFloatDoubleS cb, Test.FloatS p1, Test.DoubleS p2, Ice.Current current) { Test.FloatS p3 = p1; Test.DoubleS p4 = new Test.DoubleS(); for (int i = 0; i < p2.Count; i++) { p4.Add(p2[p2.Count - (i + 1)]); } Test.DoubleS r = new Test.DoubleS(); r.AddRange(p2); for (int i = 0; i < p1.Count; i++) { r.Add(p1[i]); } cb.ice_response(r, p3, p4); }
public Test.DoubleS opFloatDoubleS(Test.FloatS p1, Test.DoubleS p2, out Test.FloatS p3, out Test.DoubleS p4, Ice.Current current) { p3 = p1; p4 = new Test.DoubleS(); for (int i = 0; i < p2.Count; i++) { p4.Add(p2[p2.Count - (i + 1)]); } Test.DoubleS r = new Test.DoubleS(); r.AddRange(p2); for (int i = 0; i < p1.Count; i++) { r.Add(p1[i]); } return(r); }
public override Test.DoubleS opFloatDoubleS(Test.FloatS p1, Test.DoubleS p2, out Test.FloatS p3, out Test.DoubleS p4, Ice.Current current) { p3 = p1; p4 = new Test.DoubleS(); for(int i = 0; i < p2.Count; i++) { p4.Add(p2[p2.Count - (i + 1)]); } Test.DoubleS r = new Test.DoubleS(); r.AddRange(p2); for(int i = 0; i < p1.Count; i++) { r.Add(p1[i]); } return r; }
public void opFloatDoubleS_async(Test.AMD_MyClass_opFloatDoubleS cb, Test.FloatS p1, Test.DoubleS p2, Ice.Current current) { Test.FloatS p3 = p1; Test.DoubleS p4 = new Test.DoubleS(); for(int i = 0; i < p2.Count; i++) { p4.Add(p2[p2.Count - (i + 1)]); } Test.DoubleS r = new Test.DoubleS(); r.AddRange(p2); for(int i = 0; i < p1.Count; i++) { r.Add(p1[i]); } cb.ice_response(r, p3, p4); }