コード例 #1
0
 private void EnsureIsInitialized()
 {
     if (this.invokeBeginDelegate == null)
     {
         int num;
         int num2;
         System.ServiceModel.Dispatcher.InvokeBeginDelegate delegate2 = new InvokerUtil().GenerateInvokeBeginDelegate(this.beginMethod, out num);
         this.inputParameterCount = num;
         System.ServiceModel.Dispatcher.InvokeEndDelegate delegate3 = new InvokerUtil().GenerateInvokeEndDelegate(this.endMethod, out num2);
         this.outputParameterCount = num2;
         this.invokeEndDelegate    = delegate3;
         this.invokeBeginDelegate  = delegate2;
     }
 }
 private void EnsureIsInitialized()
 {
     if (this.invokeBeginDelegate == null)
     {
         int num;
         int num2;
         System.ServiceModel.Dispatcher.InvokeBeginDelegate delegate2 = new InvokerUtil().GenerateInvokeBeginDelegate(this.beginMethod, out num);
         this.inputParameterCount = num;
         System.ServiceModel.Dispatcher.InvokeEndDelegate delegate3 = new InvokerUtil().GenerateInvokeEndDelegate(this.endMethod, out num2);
         this.outputParameterCount = num2;
         this.invokeEndDelegate = delegate3;
         this.invokeBeginDelegate = delegate2;
     }
 }