Beispiel #1
0
        public override Complex ComplexParamsInOut(ref ArrayList a, out Complex b, [In, Out] byte[] bytes, StringBuilder sb, string c)
        {
            DelegateComplexParamsInOut de = new DelegateComplexParamsInOut(RemoteObject.ComplexParamsInOut);
            IAsyncResult ar = de.BeginInvoke(ref a, out b, bytes, sb, c, null, null);

            AsyncCallTest.DoWork();
            return(de.EndInvoke(ref a, out b, ar));
        }
Beispiel #2
0
        public override Complex ComplexParams(ArrayList a, Complex b, string c)
        {
            DelegateComplexParams de = new DelegateComplexParams(RemoteObject.ComplexParams);
            IAsyncResult          ar = de.BeginInvoke(a, b, c, null, null);

            AsyncCallTest.DoWork();
            return(de.EndInvoke(ar));
        }
Beispiel #3
0
        public override string PrimitiveParamsInOut(ref int a1, out int a2, ref float b1, out float b2, int filler, ref char c1, out char c2, ref string d1, out string d2)
        {
            DelegatePrimitiveParamsInOut de = new DelegatePrimitiveParamsInOut(RemoteObject.PrimitiveParamsInOut);
            IAsyncResult ar = de.BeginInvoke(ref a1, out a2, ref b1, out b2, filler, ref c1, out c2, ref d1, out d2, null, null);

            AsyncCallTest.DoWork();
            return(de.EndInvoke(ref a1, out a2, ref b1, out b2, ref c1, out c2, ref d1, out d2, ar));
        }
Beispiel #4
0
        public override string PrimitiveParams(int a, uint b, char c, string d)
        {
            DelegatePrimitiveParams de = new DelegatePrimitiveParams(RemoteObject.PrimitiveParams);
            IAsyncResult            ar = de.BeginInvoke(a, b, c, d, null, null);

            AsyncCallTest.DoWork();
            return(de.EndInvoke(ar));
        }
Beispiel #5
0
        public override int Simple()
        {
            DelegateSimple de = new DelegateSimple(RemoteObject.Simple);
            IAsyncResult   ar = de.BeginInvoke(null, null);

            AsyncCallTest.DoWork();
            return(de.EndInvoke(ar));
        }
Beispiel #6
0
        public override void ProcessContextData()
        {
            DelegateProcessContextData de = new DelegateProcessContextData(RemoteObject.ProcessContextData);
            IAsyncResult ar = de.BeginInvoke(null, null);

            AsyncCallTest.DoWork();
            de.EndInvoke(ar);
        }