Ejemplo n.º 1
0
 internal SendEvent(ZingSourceContext context, ZingAttribute contextAttribute,
     ZingChan chan, object data, int SerialNumber)
     : base(context, contextAttribute, SerialNumber)
 {
     this.data = data;
     this.chanPtr = Process.GetCurrentProcess(SerialNumber).StateImpl.ReverseLookupObject(chan);
     this.chanType = chan.GetType();
 }
Ejemplo n.º 2
0
 /// <exclude/>
 internal ReceiveEvent(ZingSourceContext context, ZingAttribute contextAttribute,
     ZingChan chan, object data)
     : base(context, contextAttribute)
 {
     this.data = data;
     this.chanPtr = Process.CurrentProcess.StateImpl.ReverseLookupObject(chan);
     this.chanType = chan.GetType();
 }