예제 #1
0
        public void OpRequiredException(int?a, string?b, Current current)
        {
            var e = new RequiredException();

            e.A = a;
            e.B = b;
            if (b != null)
            {
                e.Ss = b;
            }
            throw e;
        }
예제 #2
0
        public ValueTask OpRequiredExceptionAsync(int?a, string?b, Current c)
        {
            var e = new RequiredException();

            e.A = a;
            e.B = b;
            if (b != null)
            {
                e.Ss = b;
            }
            throw e;
        }
예제 #3
0
 opRequiredExceptionAsync(Ice.Optional<int> a, Ice.Optional<string> b, Ice.Optional<OneOptional> o, Ice.Current c)
 {
     var e = new RequiredException();
     e.a = a;
     e.b = b;
     e.o = o;
     if(b.HasValue)
     {
         e.ss = b.Value;
     }
     if(o.HasValue)
     {
         e.o2 = o.Value;
     }
     throw e;
 }
예제 #4
0
파일: TestAMDI.cs 프로젝트: zhoushiyi/ice
    opRequiredExceptionAsync(Ice.Optional <int> a, Ice.Optional <string> b, Ice.Optional <OneOptional> o, Ice.Current c)
    {
        var e = new RequiredException();

        e.a = a;
        e.b = b;
        e.o = o;
        if (b.HasValue)
        {
            e.ss = b.Value;
        }
        if (o.HasValue)
        {
            e.o2 = o.Value;
        }
        throw e;
    }
예제 #5
0
파일: TestAMDI.cs 프로젝트: pirater/ice
    public override void opRequiredExceptionAsync(Ice.Optional <int> a, Ice.Optional <string> b, Ice.Optional <OneOptional> o,
                                                  Action response, Action <Exception> exception, Ice.Current current)
    {
        var e = new RequiredException();

        e.a = a;
        e.b = b;
        e.o = o;
        if (b.HasValue)
        {
            e.ss = b.Value;
        }
        if (o.HasValue)
        {
            e.o2 = o.Value;
        }
        exception(e);
    }
예제 #6
0
파일: TestI.cs 프로젝트: renchuanrc/ice
        public void opRequiredException(int?a,
                                        string?b,
                                        OneTagged?o,
                                        Current current)
        {
            RequiredException e = new RequiredException();

            e.a = a;
            e.b = b;
            e.o = o;
            if (b != null)
            {
                e.ss = b;
            }

            if (o != null)
            {
                e.o2 = o;
            }
            throw e;
        }
예제 #7
0
        OpRequiredExceptionAsync(int?a,
                                 string?b,
                                 OneTagged?o,
                                 Current c)
        {
            var e = new RequiredException();

            e.A = a;
            e.B = b;
            e.O = o;
            if (b != null)
            {
                e.Ss = b;
            }
            if (o != null)
            {
                e.O2 = o;
            }

            throw e;
        }
예제 #8
0
파일: TestAMDI.cs 프로젝트: renchuanrc/ice
        opRequiredExceptionAsync(int?a,
                                 string?b,
                                 OneTagged?o,
                                 Current c)
        {
            var e = new RequiredException();

            e.a = a;
            e.b = b;
            e.o = o;
            if (b != null)
            {
                e.ss = b;
            }
            if (o != null)
            {
                e.o2 = o;
            }

            throw e;
        }