Пример #1
0
        public int ForeachUpgrade(RC.MarkedPackagePairDelegate fn)
        {
            RCSharp.MarkedPackagePairDelegateWrapper fn_wrapper = new RCSharp.MarkedPackagePairDelegateWrapper(fn);
            int raw_ret = rc_resolver_context_foreach_upgrade(Handle, fn_wrapper.NativeDelegate, IntPtr.Zero);
            int ret     = raw_ret;

            return(ret);
        }
Пример #2
0
		public int ForeachUpgrade(RC.MarkedPackagePairDelegate fn) {
			RCSharp.MarkedPackagePairDelegateWrapper fn_wrapper = new RCSharp.MarkedPackagePairDelegateWrapper (fn);
			int raw_ret = rc_resolver_context_foreach_upgrade(Handle, fn_wrapper.NativeDelegate, IntPtr.Zero);
			int ret = raw_ret;
			return ret;
		}