Beispiel #1
0
 public DebugFnWrapper(RC.DebugFn managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new DebugFnNative(NativeCallback);
     }
 }
		public static RC.DebugFn GetManagedDelegate (DebugFnNative native)
		{
			if (native == null)
				return null;
			DebugFnWrapper wrapper = (DebugFnWrapper) native.Target;
			if (wrapper == null)
				return null;
			return wrapper.managed;
		}
Beispiel #3
0
        public static RC.DebugFn GetManagedDelegate(DebugFnNative native)
        {
            if (native == null)
            {
                return(null);
            }
            DebugFnWrapper wrapper = (DebugFnWrapper)native.Target;

            if (wrapper == null)
            {
                return(null);
            }
            return(wrapper.managed);
        }
		public DebugFnWrapper (RC.DebugFn managed)
		{
			this.managed = managed;
			if (managed != null)
				NativeDelegate = new DebugFnNative (NativeCallback);
		}