Example #1
0
 public _IRunnable_80(ArrayHandler _enclosing, AbstractBufferContext context, ArrayInfo
                      info, IRunnable elementRunnable)
 {
     this._enclosing      = _enclosing;
     this.context         = context;
     this.info            = info;
     this.elementRunnable = elementRunnable;
 }
Example #2
0
        protected virtual ArrayInfo ForEachElement(AbstractBufferContext context, IRunnable
                                                   elementRunnable)
        {
            ArrayInfo info = NewArrayInfo();

            WithContent(context, new _IRunnable_80(this, context, info, elementRunnable));
            return(info);
        }
Example #3
0
 protected override void WithContent(AbstractBufferContext context, IRunnable runnable
     )
 {
     var address = context.ReadInt();
     var length = context.ReadInt();
     if (address == 0)
     {
         return;
     }
     var temp = context.Buffer();
     var indirectedBuffer = Container(context).DecryptedBufferByAddress(address
         , length);
     context.Buffer(indirectedBuffer);
     runnable.Run();
     context.Buffer(temp);
 }
Example #4
0
        protected override void WithContent(AbstractBufferContext context, IRunnable runnable
                                            )
        {
            int address = context.ReadInt();
            int length  = context.ReadInt();

            if (address == 0)
            {
                return;
            }
            IReadBuffer     temp             = context.Buffer();
            ByteArrayBuffer indirectedBuffer = Container(context).DecryptedBufferByAddress(address
                                                                                           , length);

            context.Buffer(indirectedBuffer);
            runnable.Run();
            context.Buffer(temp);
        }
Example #5
0
 protected virtual void WithContent(AbstractBufferContext context, IRunnable runnable
                                    )
 {
     runnable.Run();
 }
Example #6
0
 public _IRunnable_80(ArrayHandler _enclosing, AbstractBufferContext context, ArrayInfo
     info, IRunnable elementRunnable)
 {
     this._enclosing = _enclosing;
     this.context = context;
     this.info = info;
     this.elementRunnable = elementRunnable;
 }
Example #7
0
 protected virtual void WithContent(AbstractBufferContext context, IRunnable runnable
     )
 {
     runnable.Run();
 }
Example #8
0
 protected virtual ArrayInfo ForEachElement(AbstractBufferContext context, IRunnable
     elementRunnable)
 {
     var info = NewArrayInfo();
     WithContent(context, new _IRunnable_80(this, context, info, elementRunnable));
     return info;
 }