public ResolverInfoDelegateWrapper(RC.ResolverInfoDelegate managed) { this.managed = managed; if (managed != null) { NativeDelegate = new ResolverInfoDelegateNative(NativeCallback); } }
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); }
public ResolverInfoDelegateWrapper (RC.ResolverInfoDelegate managed) { this.managed = managed; if (managed != null) NativeDelegate = new ResolverInfoDelegateNative (NativeCallback); }