コード例 #1
0
 public ResolverInfoDelegateWrapper(RC.ResolverInfoDelegate managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new ResolverInfoDelegateNative(NativeCallback);
     }
 }
コード例 #2
0
 public void ForeachInfo(RC.Package arg1, int priority, RC.ResolverInfoDelegate fn)
 {
     RCSharp.ResolverInfoDelegateWrapper fn_wrapper = new RCSharp.ResolverInfoDelegateWrapper(fn);
     rc_resolver_context_foreach_info(Handle, arg1 == null ? IntPtr.Zero : arg1.Handle, priority, fn_wrapper.NativeDelegate, IntPtr.Zero);
 }
コード例 #3
0
		public ResolverInfoDelegateWrapper (RC.ResolverInfoDelegate managed)
		{
			this.managed = managed;
			if (managed != null)
				NativeDelegate = new ResolverInfoDelegateNative (NativeCallback);
		}