Beispiel #1
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("Apply", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateMatchSpy_0(SwigDirectorApply);
     }
     if (SwigDerivedClassHasMethod("Name", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateMatchSpy_1(SwigDirectorName);
     }
     if (SwigDerivedClassHasMethod("MergeResults", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateMatchSpy_2(SwigDirectorMergeResults);
     }
     if (SwigDerivedClassHasMethod("GetDescription", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateMatchSpy_3(SwigDirectorGetDescription);
     }
     XapianPINVOKE.MatchSpy_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
 }
Beispiel #2
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("Apply", swigMethodTypes0))
       swigDelegate0 = new SwigDelegateMatchSpy_0(SwigDirectorApply);
     if (SwigDerivedClassHasMethod("Name", swigMethodTypes1))
       swigDelegate1 = new SwigDelegateMatchSpy_1(SwigDirectorName);
     if (SwigDerivedClassHasMethod("MergeResults", swigMethodTypes2))
       swigDelegate2 = new SwigDelegateMatchSpy_2(SwigDirectorMergeResults);
     if (SwigDerivedClassHasMethod("GetDescription", swigMethodTypes3))
       swigDelegate3 = new SwigDelegateMatchSpy_3(SwigDirectorGetDescription);
     XapianPINVOKE.MatchSpy_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
 }