Inheritance: IDisposable
コード例 #1
0
ファイル: Enquire.cs プロジェクト: Lericchen92/XapianModified
        public MSet GetMSet(uint first, uint maxitems, RSet omrset, MatchDecider mdecider)
        {
            MSet ret = new MSet(XapianPINVOKE.Enquire_GetMSet__SWIG_5(swigCPtr, first, maxitems, RSet.getCPtr(omrset), MatchDecider.getCPtr(mdecider)), true);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #2
0
 internal static HandleRef getCPtr(MatchDecider obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #3
0
ファイル: Enquire.cs プロジェクト: kyeh/dormhost
 public void RegisterMatchDecider(string name, MatchDecider mdecider)
 {
     XapianPINVOKE.Enquire_RegisterMatchDecider__SWIG_0(swigCPtr, name, MatchDecider.getCPtr(mdecider));
     if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #4
0
ファイル: Enquire.cs プロジェクト: kyeh/dormhost
 public MSet GetMSet(uint first, uint maxitems, RSet omrset, MatchDecider mdecider)
 {
     MSet ret = new MSet(XapianPINVOKE.Enquire_GetMSet__SWIG_5(swigCPtr, first, maxitems, RSet.getCPtr(omrset), MatchDecider.getCPtr(mdecider)), true);
     if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
コード例 #5
0
ファイル: XapianPINVOKE.cs プロジェクト: kyeh/dormhost
 public static extern void MatchDecider_director_connect(HandleRef jarg1, MatchDecider.SwigDelegateMatchDecider_0 delegate0);
コード例 #6
0
 internal static HandleRef getCPtr(MatchDecider obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }