コード例 #1
0
ファイル: ThrowerI.cs プロジェクト: ycbxklk/ice
            public override void throwAasA(int a, Ice.Current current)
            {
                var ex = new Test.A();

                ex.aMem = a;
                throw ex;
            }
コード例 #2
0
ファイル: ThrowerI.cs プロジェクト: manics/ice
        public void throwAConvertedToUnhandled(Current current)
        {
            var a = new Test.A();

            a.ConvertToUnhandled = true;
            throw a;
        }
コード例 #3
0
ファイル: ThrowerI.cs プロジェクト: motuii/ice
            public void throwUndeclaredA(int a, Ice.Current current)
            {
                var ex = new Test.A();

                ex.aMem = a;
                throw ex;
            }
コード例 #4
0
ファイル: ThrowerAMDI.cs プロジェクト: yssource/ice
                public ValueTask throwAConvertedToUnhandledAsync(Ice.Current current)
                {
                    var a = new Test.A();

                    a.ConvertToUnhandled = true;
                    throw a;
                }
コード例 #5
0
ファイル: ThrowerI.cs プロジェクト: ycbxklk/ice
 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;
     }
 }
コード例 #6
0
ファイル: TestAMDI.cs プロジェクト: xingx001/ice
 opClassAndUnknownOptionalAsync(Test.A p, Current current)
 {
     return(null);
 }
コード例 #7
0
 public override void opClassAndUnknownOptional(Test.A p, Ice.Current current)
 {
 }
コード例 #8
0
ファイル: TestI.cs プロジェクト: yzun/ice
 public void opClassAndUnknownOptional(Test.A p, Current current)
 {
 }
コード例 #9
0
 opClassAndUnknownOptionalAsync(Test.A p, Current current)
 {
     return(Task.CompletedTask);
 }
コード例 #10
0
ファイル: TestAMDI.cs プロジェクト: willyang2012/ice
 public override void opClassAndUnknownOptional_async(Test.AMD_Initial_opClassAndUnknownOptional cb, Test.A p,
                                                      Ice.Current current)
 {
     cb.ice_response();
 }
コード例 #11
0
 opClassAndUnknownOptionalAsync(Test.A p, Current current) => Task.CompletedTask;