public ResolverInfoDelegateWrapper(RC.ResolverInfoDelegate managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new ResolverInfoDelegateNative(NativeCallback);
     }
 }
		public static RC.ResolverInfoDelegate GetManagedDelegate (ResolverInfoDelegateNative native)
		{
			if (native == null)
				return null;
			ResolverInfoDelegateWrapper wrapper = (ResolverInfoDelegateWrapper) native.Target;
			if (wrapper == null)
				return null;
			return wrapper.managed;
		}
        public static RC.ResolverInfoDelegate GetManagedDelegate(ResolverInfoDelegateNative native)
        {
            if (native == null)
            {
                return(null);
            }
            ResolverInfoDelegateWrapper wrapper = (ResolverInfoDelegateWrapper)native.Target;

            if (wrapper == null)
            {
                return(null);
            }
            return(wrapper.managed);
        }
		public ResolverInfoDelegateWrapper (RC.ResolverInfoDelegate managed)
		{
			this.managed = managed;
			if (managed != null)
				NativeDelegate = new ResolverInfoDelegateNative (NativeCallback);
		}