Exemple #1
0
            public override void throwAasA(int a, Ice.Current current)
            {
                var ex = new Test.A();

                ex.aMem = a;
                throw ex;
            }
Exemple #2
0
        public void throwAConvertedToUnhandled(Current current)
        {
            var a = new Test.A();

            a.ConvertToUnhandled = true;
            throw a;
        }
Exemple #3
0
            public void throwUndeclaredA(int a, Ice.Current current)
            {
                var ex = new Test.A();

                ex.aMem = a;
                throw ex;
            }
Exemple #4
0
                public ValueTask throwAConvertedToUnhandledAsync(Ice.Current current)
                {
                    var a = new Test.A();

                    a.ConvertToUnhandled = true;
                    throw a;
                }
Exemple #5
0
 public override void throwAorDasAorD(int a, Ice.Current current)
 {
     if (a > 0)
     {
         var ex = new Test.A();
         ex.aMem = a;
         throw ex;
     }
     else
     {
         var ex = new Test.D();
         ex.dMem = a;
         throw ex;
     }
 }
Exemple #6
0
 opClassAndUnknownOptionalAsync(Test.A p, Current current)
 {
     return(null);
 }
Exemple #7
0
 public override void opClassAndUnknownOptional(Test.A p, Ice.Current current)
 {
 }
Exemple #8
0
 public void opClassAndUnknownOptional(Test.A p, Current current)
 {
 }
Exemple #9
0
 opClassAndUnknownOptionalAsync(Test.A p, Current current)
 {
     return(Task.CompletedTask);
 }
Exemple #10
0
 public override void opClassAndUnknownOptional_async(Test.AMD_Initial_opClassAndUnknownOptional cb, Test.A p,
                                                      Ice.Current current)
 {
     cb.ice_response();
 }
Exemple #11
0
 opClassAndUnknownOptionalAsync(Test.A p, Current current) => Task.CompletedTask;