Beispiel #1
0
        public ZoneUnaryCallback registerUnaryCallback(Zone zone, ZoneUnaryCallback f)
        {
            var   implementation = _delegationTarget._registerUnaryCallback;
            _Zone implZone       = implementation.zone;
            RegisterUnaryCallbackHandler handler = implementation.function;

            return(handler(implZone, async_._parentDelegate(implZone), zone, f));
        }
Beispiel #2
0
 internal _RegisterUnaryZoneFunction(_Zone zone, RegisterUnaryCallbackHandler function)
 {
     this.zone     = zone;
     this.function = function;
 }